8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.12\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2025-02-17 21:03+0100 \n "
11
+ "POT-Creation-Date : 2025-05-02 23:29+0300 \n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -44,7 +44,14 @@ msgid ""
44
44
"tp_basicsize` field of the type object."
45
45
msgstr ""
46
46
47
- #: c-api/allocation.rst:41
47
+ #: c-api/allocation.rst:38
48
+ msgid ""
49
+ "Note that this function is unsuitable if *typeobj* has :c:macro:"
50
+ "`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` "
51
+ "instead."
52
+ msgstr ""
53
+
54
+ #: c-api/allocation.rst:45
48
55
msgid ""
49
56
"Allocate a new Python object using the C structure type *TYPE* and the "
50
57
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -57,7 +64,14 @@ msgid ""
57
64
"management efficiency."
58
65
msgstr ""
59
66
60
- #: c-api/allocation.rst:55
67
+ #: c-api/allocation.rst:56
68
+ msgid ""
69
+ "Note that this function is unsuitable if *typeobj* has :c:macro:"
70
+ "`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` "
71
+ "instead."
72
+ msgstr ""
73
+
74
+ #: c-api/allocation.rst:63
61
75
msgid ""
62
76
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
63
77
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -66,17 +80,17 @@ msgid ""
66
80
"no longer a valid Python object."
67
81
msgstr ""
68
82
69
- #: c-api/allocation.rst:64
83
+ #: c-api/allocation.rst:72
70
84
msgid ""
71
85
"Object which is visible in Python as ``None``. This should only be accessed "
72
86
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
73
87
"object."
74
88
msgstr ""
75
89
76
- #: c-api/allocation.rst:71
90
+ #: c-api/allocation.rst:79
77
91
msgid ":c:func:`PyModule_Create`"
78
92
msgstr ""
79
93
80
- #: c-api/allocation.rst:72
94
+ #: c-api/allocation.rst:80
81
95
msgid "To allocate and create extension modules."
82
96
msgstr ""
0 commit comments