77msgstr ""
88"Project-Id-Version : Python 3.12\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2023-09-18 19:05 +0000\n "
10+ "POT-Creation-Date : 2026-12-05 13:28 +0000\n "
1111"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1212"Last-Translator : \n "
1313"Language-Team : TURKISH <python.docs.tr@gmail.com>\n "
@@ -23,29 +23,34 @@ msgstr ""
2323#: c-api/allocation.rst:17
2424msgid ""
2525"Initialize a newly allocated object *op* with its type and initial "
26- "reference. Returns the initialized object. If *type* indicates that the "
27- "object participates in the cyclic garbage detector, it is added to the "
28- "detector's set of observed objects. Other fields of the object are not "
29- "affected."
26+ "reference. Returns the initialized object. Other fields of the object are "
27+ "not affected."
3028msgstr ""
3129
32- #: c-api/allocation.rst:26
30+ #: c-api/allocation.rst:24
3331msgid ""
3432"This does everything :c:func:`PyObject_Init` does, and also initializes the "
3533"length information for a variable-size object."
3634msgstr ""
3735
38- #: c-api/allocation.rst:32
36+ #: c-api/allocation.rst:30
3937msgid ""
4038"Allocate a new Python object using the C structure type *TYPE* and the "
4139"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
4240"Python object header are not initialized. The caller will own the only "
4341"reference to the object (i.e. its reference count will be one). The size of "
44- "the memory allocation is determined from the :c:member:`~PyTypeObject. "
45- "tp_basicsize` field of the type object."
42+ "the memory allocation is determined from "
43+ "the :c:member:`~PyTypeObject. tp_basicsize` field of the type object."
4644msgstr ""
4745
48- #: c-api/allocation.rst:43
46+ #: c-api/allocation.rst:38
47+ msgid ""
48+ "Note that this function is unsuitable if *typeobj* "
49+ "has :c:macro:`Py_TPFLAGS_HAVE_GC` set. For such objects, "
50+ "use :c:func:`PyObject_GC_New` instead."
51+ msgstr ""
52+
53+ #: c-api/allocation.rst:45
4954msgid ""
5055"Allocate a new Python object using the C structure type *TYPE* and the "
5156"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -58,26 +63,33 @@ msgid ""
5863"management efficiency."
5964msgstr ""
6065
61- #: c-api/allocation.rst:57
66+ #: c-api/allocation.rst:56
67+ msgid ""
68+ "Note that this function is unsuitable if *typeobj* "
69+ "has :c:macro:`Py_TPFLAGS_HAVE_GC` set. For such objects, "
70+ "use :c:func:`PyObject_GC_NewVar` instead."
71+ msgstr ""
72+
73+ #: c-api/allocation.rst:63
6274msgid ""
63- "Releases memory allocated to an object using :c:macro:`PyObject_New` or :c: "
64- "macro:`PyObject_NewVar`. This is normally called from the :c:member: "
65- "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
66- "fields of the object should not be accessed after this call as the memory is "
67- "no longer a valid Python object."
75+ "Releases memory allocated to an object using :c:macro:`PyObject_New` "
76+ "or :c: macro:`PyObject_NewVar`. This is normally called from "
77+ "the :c:member: `~PyTypeObject.tp_dealloc` handler specified in the object's "
78+ "type. The fields of the object should not be accessed after this call as "
79+ "the memory is no longer a valid Python object."
6880msgstr ""
6981
70- #: c-api/allocation.rst:66
82+ #: c-api/allocation.rst:72
7183msgid ""
7284"Object which is visible in Python as ``None``. This should only be accessed "
7385"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
7486"object."
7587msgstr ""
7688
77- #: c-api/allocation.rst:73
89+ #: c-api/allocation.rst:79
7890msgid ":c:func:`PyModule_Create`"
7991msgstr ""
8092
81- #: c-api/allocation.rst:74
93+ #: c-api/allocation.rst:80
8294msgid "To allocate and create extension modules."
8395msgstr ""
0 commit comments