|
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: Python 3.11\n" |
9 | 9 | "Report-Msgid-Bugs-To: \n" |
10 | | -"POT-Creation-Date: 2022-12-17 01:28+0300\n" |
| 10 | +"POT-Creation-Date: 2023-08-01 00:18+0000\n" |
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: \n" |
13 | 13 | "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" |
@@ -38,44 +38,45 @@ msgstr "" |
38 | 38 | #: c-api/allocation.rst:32 |
39 | 39 | msgid "" |
40 | 40 | "Allocate a new Python object using the C structure type *TYPE* and the " |
41 | | -"Python type object *type*. Fields not defined by the Python object header " |
42 | | -"are not initialized; the object's reference count will be one. The size of " |
43 | | -"the memory allocation is determined from the :c:member:`~PyTypeObject." |
44 | | -"tp_basicsize` field of the type object." |
| 41 | +"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the " |
| 42 | +"Python object header are not initialized; the object's reference count will " |
| 43 | +"be one. The size of the memory allocation is determined from the :c:member:" |
| 44 | +"`~PyTypeObject.tp_basicsize` field of the type object." |
45 | 45 | msgstr "" |
46 | 46 |
|
47 | | -#: c-api/allocation.rst:41 |
| 47 | +#: c-api/allocation.rst:42 |
48 | 48 | msgid "" |
49 | 49 | "Allocate a new Python object using the C structure type *TYPE* and the " |
50 | | -"Python type object *type*. Fields not defined by the Python object header " |
51 | | -"are not initialized. The allocated memory allows for the *TYPE* structure " |
52 | | -"plus *size* fields of the size given by the :c:member:`~PyTypeObject." |
53 | | -"tp_itemsize` field of *type*. This is useful for implementing objects like " |
54 | | -"tuples, which are able to determine their size at construction time. " |
55 | | -"Embedding the array of fields into the same allocation decreases the number " |
56 | | -"of allocations, improving the memory management efficiency." |
| 50 | +"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the " |
| 51 | +"Python object header are not initialized. The allocated memory allows for " |
| 52 | +"the *TYPE* structure plus *size* (``Py_ssize_t``) fields of the size given " |
| 53 | +"by the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*. This is " |
| 54 | +"useful for implementing objects like tuples, which are able to determine " |
| 55 | +"their size at construction time. Embedding the array of fields into the " |
| 56 | +"same allocation decreases the number of allocations, improving the memory " |
| 57 | +"management efficiency." |
57 | 58 | msgstr "" |
58 | 59 |
|
59 | | -#: c-api/allocation.rst:53 |
| 60 | +#: c-api/allocation.rst:56 |
60 | 61 | msgid "" |
61 | | -"Releases memory allocated to an object using :c:func:`PyObject_New` or :c:" |
62 | | -"func:`PyObject_NewVar`. This is normally called from the :c:member:" |
| 62 | +"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:" |
| 63 | +"macro:`PyObject_NewVar`. This is normally called from the :c:member:" |
63 | 64 | "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The " |
64 | 65 | "fields of the object should not be accessed after this call as the memory is " |
65 | 66 | "no longer a valid Python object." |
66 | 67 | msgstr "" |
67 | 68 |
|
68 | | -#: c-api/allocation.rst:62 |
| 69 | +#: c-api/allocation.rst:65 |
69 | 70 | msgid "" |
70 | 71 | "Object which is visible in Python as ``None``. This should only be accessed " |
71 | 72 | "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " |
72 | 73 | "object." |
73 | 74 | msgstr "" |
74 | 75 |
|
75 | | -#: c-api/allocation.rst:69 |
| 76 | +#: c-api/allocation.rst:72 |
76 | 77 | msgid ":c:func:`PyModule_Create`" |
77 | 78 | msgstr "" |
78 | 79 |
|
79 | | -#: c-api/allocation.rst:70 |
| 80 | +#: c-api/allocation.rst:73 |
80 | 81 | msgid "To allocate and create extension modules." |
81 | 82 | msgstr "" |
0 commit comments