@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version :Python 3.13\n "
1414"Report-Msgid-Bugs-To :\n "
15- "POT-Creation-Date :2025-10-27 15:03 +0000\n "
15+ "POT-Creation-Date :2025-11-07 15:30 +0000\n "
1616"PO-Revision-Date :2025-09-15 01:03+0000\n "
1717"Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1818"Language-Team :Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -53,43 +53,49 @@ msgstr ""
5353"dinamicamente."
5454
5555#: ../../c-api/capsule.rst:27
56+ msgid ""
57+ "The type object corresponding to capsule objects. This is the same object "
58+ "as :class:`types.CapsuleType` in the Python layer."
59+ msgstr ""
60+
61+ #: ../../c-api/capsule.rst:33
5662msgid "The type of a destructor callback for a capsule. Defined as::"
5763msgstr ""
5864"O tipo de um retorno de chamada destruidor para uma cápsula. Definido como::"
5965
60- #: ../../c-api/capsule.rst:29
66+ #: ../../c-api/capsule.rst:35
6167msgid "typedef void (*PyCapsule_Destructor)(PyObject *);"
6268msgstr "typedef void (*PyCapsule_Destructor)(PyObject *);"
6369
64- #: ../../c-api/capsule.rst:31
70+ #: ../../c-api/capsule.rst:37
6571msgid ""
6672"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "
6773"callbacks."
6874msgstr ""
6975"Veja :c:func:`PyCapsule_New` para a semântica dos retornos de chamada "
7076"PyCapsule_Destructor."
7177
72- #: ../../c-api/capsule.rst:37
78+ #: ../../c-api/capsule.rst:43
7379msgid ""
7480"Return true if its argument is a :c:type:`PyCapsule`. This function always "
7581"succeeds."
7682msgstr ""
7783"Retorna true se seu argumento é um :c:type:`PyCapsule`. Esta função sempre "
7884"tem sucesso."
7985
80- #: ../../c-api/capsule.rst:43
86+ #: ../../c-api/capsule.rst:49
8187msgid ""
8288"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
8389"argument may not be ``NULL``."
8490msgstr ""
8591"Cria um :c:type:`PyCapsule` que encapsula o *ponteiro*. O argumento "
8692"*pointer* pode não ser ``NULL``."
8793
88- #: ../../c-api/capsule.rst:46
94+ #: ../../c-api/capsule.rst:52
8995msgid "On failure, set an exception and return ``NULL``."
9096msgstr "Em caso de falha, define uma exceção e retorna ``NULL``."
9197
92- #: ../../c-api/capsule.rst:48
98+ #: ../../c-api/capsule.rst:54
9399msgid ""
94100"The *name* string may either be ``NULL`` or a pointer to a valid C string. "
95101"If non-``NULL``, this string must outlive the capsule. (Though it is "
@@ -99,15 +105,15 @@ msgstr ""
99105"Se não for ``NULL``, essa string deverá sobreviver à cápsula. (Embora seja "
100106"permitido liberá-lo dentro do *descructor*.)"
101107
102- #: ../../c-api/capsule.rst:52
108+ #: ../../c-api/capsule.rst:58
103109msgid ""
104110"If the *destructor* argument is not ``NULL``, it will be called with the "
105111"capsule as its argument when it is destroyed."
106112msgstr ""
107113"Se o argumento *destructor* não for ``NULL``, ele será chamado com a cápsula "
108114"como argumento quando for destruído."
109115
110- #: ../../c-api/capsule.rst:55
116+ #: ../../c-api/capsule.rst:61
111117msgid ""
112118"If this capsule will be stored as an attribute of a module, the *name* "
113119"should be specified as ``modulename.attributename``. This will enable other "
@@ -117,15 +123,15 @@ msgstr ""
117123"ser especificado como ``modulename.attributename``. Isso permitirá que "
118124"outros módulos importem a cápsula usando :c:func:`PyCapsule_Import`."
119125
120- #: ../../c-api/capsule.rst:62
126+ #: ../../c-api/capsule.rst:68
121127msgid ""
122128"Retrieve the *pointer* stored in the capsule. On failure, set an exception "
123129"and return ``NULL``."
124130msgstr ""
125131"Recupera o *pointer* armazenado na cápsula. Em caso de falha, define uma "
126132"exceção e retorna ``NULL``."
127133
128- #: ../../c-api/capsule.rst:65
134+ #: ../../c-api/capsule.rst:71
129135msgid ""
130136"The *name* parameter must compare exactly to the name stored in the capsule. "
131137"If the name stored in the capsule is ``NULL``, the *name* passed in must "
@@ -137,15 +143,15 @@ msgstr ""
137143"também deve ser ``NULL``. Python usa a função C :c:func:`!strcmp` para "
138144"comparar nomes de cápsulas."
139145
140- #: ../../c-api/capsule.rst:73
146+ #: ../../c-api/capsule.rst:79
141147msgid ""
142148"Return the current destructor stored in the capsule. On failure, set an "
143149"exception and return ``NULL``."
144150msgstr ""
145151"Retorna o destruidor atual armazenado na cápsula. Em caso de falha, define "
146152"uma exceção e retorna ``NULL``."
147153
148- #: ../../c-api/capsule.rst:76
154+ #: ../../c-api/capsule.rst:82
149155msgid ""
150156"It is legal for a capsule to have a ``NULL`` destructor. This makes a "
151157"``NULL`` return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :"
@@ -155,15 +161,15 @@ msgstr ""
155161"retorno ``NULL`` um tanto ambíguo; use :c:func:`PyCapsule_IsValid` ou :c:"
156162"func:`PyErr_Occurred` para desambiguar."
157163
158- #: ../../c-api/capsule.rst:83
164+ #: ../../c-api/capsule.rst:89
159165msgid ""
160166"Return the current context stored in the capsule. On failure, set an "
161167"exception and return ``NULL``."
162168msgstr ""
163169"Retorna o contexto atual armazenado na cápsula. Em caso de falha, define uma "
164170"exceção e retorna ``NULL``."
165171
166- #: ../../c-api/capsule.rst:86
172+ #: ../../c-api/capsule.rst:92
167173msgid ""
168174"It is legal for a capsule to have a ``NULL`` context. This makes a ``NULL`` "
169175"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
@@ -173,15 +179,15 @@ msgstr ""
173179"retorno ``NULL`` um tanto ambíguo; use :c:func:`PyCapsule_IsValid` ou :c:"
174180"func:`PyErr_Occurred` para desambiguar."
175181
176- #: ../../c-api/capsule.rst:93
182+ #: ../../c-api/capsule.rst:99
177183msgid ""
178184"Return the current name stored in the capsule. On failure, set an exception "
179185"and return ``NULL``."
180186msgstr ""
181187"Retorna o nome atual armazenado na cápsula. Em caso de falha, define uma "
182188"exceção e retorna ``NULL``."
183189
184- #: ../../c-api/capsule.rst:96
190+ #: ../../c-api/capsule.rst:102
185191msgid ""
186192"It is legal for a capsule to have a ``NULL`` name. This makes a ``NULL`` "
187193"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or :c:func:"
@@ -191,7 +197,7 @@ msgstr ""
191197"retorno ``NULL`` um tanto ambíguo; use :c:func:`PyCapsule_IsValid` ou :c:"
192198"func:`PyErr_Occurred` para desambiguar."
193199
194- #: ../../c-api/capsule.rst:103
200+ #: ../../c-api/capsule.rst:109
195201msgid ""
196202"Import a pointer to a C object from a capsule attribute in a module. The "
197203"*name* parameter should specify the full name to the attribute, as in "
@@ -203,23 +209,23 @@ msgstr ""
203209"``module.attribute``. O *name* armazenado na cápsula deve corresponder "
204210"exatamente a essa string."
205211
206- #: ../../c-api/capsule.rst:108
212+ #: ../../c-api/capsule.rst:114
207213msgid ""
208214"This function splits *name* on the ``.`` character, and imports the first "
209215"element. It then processes further elements using attribute lookups."
210216msgstr ""
211217"Esta função divide *name* no caractere ``.`` e importa o primeiro elemento. "
212218"Em seguida, processa os elementos seguintes usando pesquisas de atributos."
213219
214- #: ../../c-api/capsule.rst:111
220+ #: ../../c-api/capsule.rst:117
215221msgid ""
216222"Return the capsule's internal *pointer* on success. On failure, set an "
217223"exception and return ``NULL``."
218224msgstr ""
219225"Retorna o ponteiro interno *pointer* da cápsula com sucesso. Em caso de "
220226"falha, define uma exceção e retorna ``NULL``."
221227
222- #: ../../c-api/capsule.rst:116
228+ #: ../../c-api/capsule.rst:122
223229msgid ""
224230"If *name* points to an attribute of some submodule or subpackage, this "
225231"submodule or subpackage must be previously imported using other means (for "
@@ -231,11 +237,11 @@ msgstr ""
231237"(por exemplo, usando :c:func:`PyImport_ImportModule`) para que as pesquisas "
232238"de atributos sejam bem-sucedidas."
233239
234- #: ../../c-api/capsule.rst:121
240+ #: ../../c-api/capsule.rst:127
235241msgid "*no_block* has no effect anymore."
236242msgstr "*no_block* não tem mais efeito."
237243
238- #: ../../c-api/capsule.rst:127
244+ #: ../../c-api/capsule.rst:133
239245msgid ""
240246"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
241247"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -249,7 +255,7 @@ msgstr ""
249255"parâmetro *name*. (Consulte :c:func:`PyCapsule_GetPointer` para obter "
250256"informações sobre como os nomes das cápsulas são comparados.)"
251257
252- #: ../../c-api/capsule.rst:133
258+ #: ../../c-api/capsule.rst:139
253259msgid ""
254260"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
255261"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
@@ -259,31 +265,31 @@ msgstr ""
259265"verdadeiro, as chamadas para qualquer um dos acessadores (qualquer função "
260266"que comece com ``PyCapsule_Get``) terão êxito garantido."
261267
262- #: ../../c-api/capsule.rst:137
268+ #: ../../c-api/capsule.rst:143
263269msgid ""
264270"Return a nonzero value if the object is valid and matches the name passed "
265271"in. Return ``0`` otherwise. This function will not fail."
266272msgstr ""
267273"Retorna um valor diferente de zero se o objeto for válido e corresponder ao "
268274"nome passado. Retorna ``0`` caso contrário. Esta função não falhará."
269275
270- #: ../../c-api/capsule.rst:143
276+ #: ../../c-api/capsule.rst:149
271277msgid "Set the context pointer inside *capsule* to *context*."
272278msgstr "Define o ponteiro de contexto dentro de *capsule* para *context*."
273279
274- #: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
275- #: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
280+ #: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:158
281+ #: ../../c-api/capsule.rst:167 ../../c-api/capsule.rst:175
276282msgid ""
277283"Return ``0`` on success. Return nonzero and set an exception on failure."
278284msgstr ""
279285"Retorna ``0`` em caso de sucesso. Retorna diferente de zero e define uma "
280286"exceção em caso de falha."
281287
282- #: ../../c-api/capsule.rst:150
288+ #: ../../c-api/capsule.rst:156
283289msgid "Set the destructor inside *capsule* to *destructor*."
284290msgstr "Define o destrutor dentro de *capsule* para *destructor*."
285291
286- #: ../../c-api/capsule.rst:157
292+ #: ../../c-api/capsule.rst:163
287293msgid ""
288294"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
289295"outlive the capsule. If the previous *name* stored in the capsule was not "
@@ -293,7 +299,7 @@ msgstr ""
293299"deve sobreviver à cápsula. Se o *name* anterior armazenado na cápsula não "
294300"era ``NULL``, nenhuma tentativa será feita para liberá-lo."
295301
296- #: ../../c-api/capsule.rst:166
302+ #: ../../c-api/capsule.rst:172
297303msgid ""
298304"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
299305"``NULL``."