|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001 Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +# Translators: |
| 7 | +# Rafael Fontenelle <rffontenelle@gmail.com>, 2025 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.14\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2025-07-25 14:21+0000\n" |
| 15 | +"PO-Revision-Date: 2025-07-18 18:48+0000\n" |
| 16 | +"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n" |
| 17 | +"Language-Team: Hungarian (https://app.transifex.com/python-doc/teams/5390/" |
| 18 | +"hu/)\n" |
| 19 | +"MIME-Version: 1.0\n" |
| 20 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 21 | +"Content-Transfer-Encoding: 8bit\n" |
| 22 | +"Language: hu\n" |
| 23 | +"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 24 | + |
| 25 | +#: ../../c-api/allocation.rst:6 |
| 26 | +msgid "Allocating Objects on the Heap" |
| 27 | +msgstr "Objektumok Allokálása a Heap-en" |
| 28 | + |
| 29 | +#: ../../c-api/allocation.rst:17 |
| 30 | +msgid "" |
| 31 | +"Initialize a newly allocated object *op* with its type and initial " |
| 32 | +"reference. Returns the initialized object. Other fields of the object are " |
| 33 | +"not initialized. Despite its name, this function is unrelated to the " |
| 34 | +"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` " |
| 35 | +"slot). Specifically, this function does **not** call the object's :meth:`!" |
| 36 | +"__init__` method." |
| 37 | +msgstr "" |
| 38 | + |
| 39 | +#: ../../c-api/allocation.rst:24 |
| 40 | +msgid "" |
| 41 | +"In general, consider this function to be a low-level routine. " |
| 42 | +"Use :c:member:`~PyTypeObject.tp_alloc` where possible. For " |
| 43 | +"implementing :c:member:`!tp_alloc` for your type, " |
| 44 | +"prefer :c:func:`PyType_GenericAlloc` or :c:func:`PyObject_New`." |
| 45 | +msgstr "" |
| 46 | + |
| 47 | +#: ../../c-api/allocation.rst:31 |
| 48 | +msgid "" |
| 49 | +"This function only initializes the object's memory corresponding to the " |
| 50 | +"initial :c:type:`PyObject` structure. It does not zero the rest." |
| 51 | +msgstr "" |
| 52 | + |
| 53 | +#: ../../c-api/allocation.rst:37 |
| 54 | +msgid "" |
| 55 | +"This does everything :c:func:`PyObject_Init` does, and also initializes the " |
| 56 | +"length information for a variable-size object." |
| 57 | +msgstr "" |
| 58 | +"Ez mindent megcsinál, amit a :c:func:`PyObject_Init` csinálna és " |
| 59 | +"inicializálja a hossz információt egy változó-nagyságú objektumnak." |
| 60 | + |
| 61 | +#: ../../c-api/allocation.rst:42 |
| 62 | +msgid "" |
| 63 | +"This function only initializes some of the object's memory. It does not " |
| 64 | +"zero the rest." |
| 65 | +msgstr "" |
| 66 | + |
| 67 | +#: ../../c-api/allocation.rst:48 |
| 68 | +msgid "" |
| 69 | +"Allocates a new Python object using the C structure type *TYPE* and the " |
| 70 | +"Python type object *typeobj* (``PyTypeObject*``) by " |
| 71 | +"calling :c:func:`PyObject_Malloc` to allocate memory and initializing it " |
| 72 | +"like :c:func:`PyObject_Init`. The caller will own the only reference to the " |
| 73 | +"object (i.e. its reference count will be one)." |
| 74 | +msgstr "" |
| 75 | + |
| 76 | +#: ../../c-api/allocation.rst:54 ../../c-api/allocation.rst:107 |
| 77 | +msgid "" |
| 78 | +"Avoid calling this directly to allocate memory for an object; call the " |
| 79 | +"type's :c:member:`~PyTypeObject.tp_alloc` slot instead." |
| 80 | +msgstr "" |
| 81 | + |
| 82 | +#: ../../c-api/allocation.rst:57 ../../c-api/allocation.rst:110 |
| 83 | +msgid "" |
| 84 | +"When populating a type's :c:member:`~PyTypeObject.tp_alloc` " |
| 85 | +"slot, :c:func:`PyType_GenericAlloc` is preferred over a custom function that " |
| 86 | +"simply calls this macro." |
| 87 | +msgstr "" |
| 88 | + |
| 89 | +#: ../../c-api/allocation.rst:61 |
| 90 | +msgid "" |
| 91 | +"This macro does not " |
| 92 | +"call :c:member:`~PyTypeObject.tp_alloc`, :c:member:`~PyTypeObject.tp_new` " |
| 93 | +"(:meth:`~object.__new__`), or :c:member:`~PyTypeObject.tp_init` " |
| 94 | +"(:meth:`~object.__init__`)." |
| 95 | +msgstr "" |
| 96 | + |
| 97 | +#: ../../c-api/allocation.rst:65 |
| 98 | +msgid "" |
| 99 | +"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set " |
| 100 | +"in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` " |
| 101 | +"instead." |
| 102 | +msgstr "" |
| 103 | + |
| 104 | +#: ../../c-api/allocation.rst:68 |
| 105 | +msgid "" |
| 106 | +"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` " |
| 107 | +"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)." |
| 108 | +msgstr "" |
| 109 | + |
| 110 | +#: ../../c-api/allocation.rst:73 ../../c-api/allocation.rst:123 |
| 111 | +msgid "" |
| 112 | +"The returned memory is not guaranteed to have been completely zeroed before " |
| 113 | +"it was initialized." |
| 114 | +msgstr "" |
| 115 | + |
| 116 | +#: ../../c-api/allocation.rst:78 ../../c-api/allocation.rst:128 |
| 117 | +msgid "" |
| 118 | +"This macro does not construct a fully initialized object of the given type; " |
| 119 | +"it merely allocates memory and prepares it for further initialization " |
| 120 | +"by :c:member:`~PyTypeObject.tp_init`. To construct a fully initialized " |
| 121 | +"object, call *typeobj* instead. For example::" |
| 122 | +msgstr "" |
| 123 | + |
| 124 | +#: ../../c-api/allocation.rst:83 |
| 125 | +msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);" |
| 126 | +msgstr "" |
| 127 | + |
| 128 | +#: ../../c-api/allocation.rst:87 ../../c-api/allocation.rst:137 |
| 129 | +msgid ":c:func:`PyObject_Free`" |
| 130 | +msgstr "" |
| 131 | + |
| 132 | +#: ../../c-api/allocation.rst:88 |
| 133 | +msgid ":c:macro:`PyObject_GC_New`" |
| 134 | +msgstr "" |
| 135 | + |
| 136 | +#: ../../c-api/allocation.rst:89 ../../c-api/allocation.rst:139 |
| 137 | +msgid ":c:func:`PyType_GenericAlloc`" |
| 138 | +msgstr "" |
| 139 | + |
| 140 | +#: ../../c-api/allocation.rst:90 ../../c-api/allocation.rst:140 |
| 141 | +msgid ":c:member:`~PyTypeObject.tp_alloc`" |
| 142 | +msgstr "" |
| 143 | + |
| 144 | +#: ../../c-api/allocation.rst:95 |
| 145 | +msgid "Like :c:macro:`PyObject_New` except:" |
| 146 | +msgstr "" |
| 147 | + |
| 148 | +#: ../../c-api/allocation.rst:97 |
| 149 | +msgid "" |
| 150 | +"It allocates enough memory for the *TYPE* structure plus *size* " |
| 151 | +"(``Py_ssize_t``) fields of the size given by " |
| 152 | +"the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*." |
| 153 | +msgstr "" |
| 154 | + |
| 155 | +#: ../../c-api/allocation.rst:100 |
| 156 | +msgid "The memory is initialized like :c:func:`PyObject_InitVar`." |
| 157 | +msgstr "" |
| 158 | + |
| 159 | +#: ../../c-api/allocation.rst:102 |
| 160 | +msgid "" |
| 161 | +"This is useful for implementing objects like tuples, which are able to " |
| 162 | +"determine their size at construction time. Embedding the array of fields " |
| 163 | +"into the same allocation decreases the number of allocations, improving the " |
| 164 | +"memory management efficiency." |
| 165 | +msgstr "" |
| 166 | + |
| 167 | +#: ../../c-api/allocation.rst:114 |
| 168 | +msgid "" |
| 169 | +"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set " |
| 170 | +"in :c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` " |
| 171 | +"instead." |
| 172 | +msgstr "" |
| 173 | + |
| 174 | +#: ../../c-api/allocation.rst:118 |
| 175 | +msgid "" |
| 176 | +"Memory allocated by this function must be freed with :c:func:`PyObject_Free` " |
| 177 | +"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)." |
| 178 | +msgstr "" |
| 179 | + |
| 180 | +#: ../../c-api/allocation.rst:133 |
| 181 | +msgid "" |
| 182 | +"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);" |
| 183 | +msgstr "" |
| 184 | + |
| 185 | +#: ../../c-api/allocation.rst:138 |
| 186 | +msgid ":c:macro:`PyObject_GC_NewVar`" |
| 187 | +msgstr "" |
| 188 | + |
| 189 | +#: ../../c-api/allocation.rst:145 |
| 190 | +msgid "Same as :c:func:`PyObject_Free`." |
| 191 | +msgstr "" |
| 192 | + |
| 193 | +#: ../../c-api/allocation.rst:149 |
| 194 | +msgid "" |
| 195 | +"Object which is visible in Python as ``None``. This should only be accessed " |
| 196 | +"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " |
| 197 | +"object." |
| 198 | +msgstr "" |
| 199 | +"Objektum, ami a Pythonban ``None``-ként lesz látható. Ezt csak " |
| 200 | +"a :c:macro:`Py_None` makróval szabad elérni, ami egy erre az objektumra " |
| 201 | +"mutató pointerre értékelődik ki." |
| 202 | + |
| 203 | +#: ../../c-api/allocation.rst:156 |
| 204 | +msgid ":ref:`moduleobjects`" |
| 205 | +msgstr "" |
| 206 | + |
| 207 | +#: ../../c-api/allocation.rst:157 |
| 208 | +msgid "To allocate and create extension modules." |
| 209 | +msgstr "Kiegészítő modulok allokálására és létrehozására." |
0 commit comments