@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-01-10 14:49 +0000\n "
14
+ "POT-Creation-Date : 2025-03-21 14:55 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:32+0000\n "
16
16
"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -60,7 +60,17 @@ msgstr ""
60
60
"uma). O tamanho da alocação de memória é determinado do campo :c:member:"
61
61
"`~PyTypeObject.tp_basicsize` do objeto tipo."
62
62
63
- #: ../../c-api/allocation.rst:41
63
+ #: ../../c-api/allocation.rst:38
64
+ msgid ""
65
+ "Note that this function is unsuitable if *typeobj* has :c:macro:"
66
+ "`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` "
67
+ "instead."
68
+ msgstr ""
69
+ "Note que esta função não é adequada se *typeobj* tiver :c:macro:"
70
+ "`Py_TPFLAGS_HAVE_GC` definido. Para tais objetos, use :c:func:"
71
+ "`PyObject_GC_New` em vez disso."
72
+
73
+ #: ../../c-api/allocation.rst:45
64
74
msgid ""
65
75
"Allocate a new Python object using the C structure type *TYPE* and the "
66
76
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -82,7 +92,17 @@ msgstr ""
82
92
"campos dentro da mesma alocação diminuindo o numero de alocações, melhorando "
83
93
"a eficiência do gerenciamento de memória."
84
94
85
- #: ../../c-api/allocation.rst:55
95
+ #: ../../c-api/allocation.rst:56
96
+ msgid ""
97
+ "Note that this function is unsuitable if *typeobj* has :c:macro:"
98
+ "`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` "
99
+ "instead."
100
+ msgstr ""
101
+ "Note que esta função não é adequada se *typeobj* tiver :c:macro:"
102
+ "`Py_TPFLAGS_HAVE_GC` definido. Para tais objetos, use :c:func:"
103
+ "`PyObject_GC_NewVar` em vez disso."
104
+
105
+ #: ../../c-api/allocation.rst:63
86
106
msgid ""
87
107
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
88
108
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -96,7 +116,7 @@ msgstr ""
96
116
"do objeto não devem ser acessados após esta chamada como a memória não é "
97
117
"mais um objeto Python válido."
98
118
99
- #: ../../c-api/allocation.rst:64
119
+ #: ../../c-api/allocation.rst:72
100
120
msgid ""
101
121
"Object which is visible in Python as ``None``. This should only be accessed "
102
122
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
@@ -106,10 +126,10 @@ msgstr ""
106
126
"usando a macro :c:macro:`Py_None`, o qual avalia como um ponteiro para este "
107
127
"objeto."
108
128
109
- #: ../../c-api/allocation.rst:71
129
+ #: ../../c-api/allocation.rst:79
110
130
msgid ":c:func:`PyModule_Create`"
111
131
msgstr ":c:func:`PyModule_Create`"
112
132
113
- #: ../../c-api/allocation.rst:72
133
+ #: ../../c-api/allocation.rst:80
114
134
msgid "To allocate and create extension modules."
115
135
msgstr "Para alocar e criar módulos de extensão."
0 commit comments