@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.13\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-05-30 14:58 +0000\n "
14
+ "POT-Creation-Date : 2025-06-27 14:55 +0000\n "
15
15
"PO-Revision-Date : 2025-05-08 05:08+0000\n "
16
16
"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2025\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -132,8 +132,8 @@ msgstr ""
132
132
"Define os valores-padrão dos argumentos do objeto função *op*. *defaults* "
133
133
"deve ser ``Py_None`` ou uma tupla."
134
134
135
- #: ../../c-api/function.rst:86 ../../c-api/function.rst:109
136
- #: ../../c-api/function.rst:123
135
+ #: ../../c-api/function.rst:86 ../../c-api/function.rst:116
136
+ #: ../../c-api/function.rst:130
137
137
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
138
138
msgstr "Levanta :exc:`SystemError` e retorna ``-1`` em caso de falha."
139
139
@@ -149,39 +149,52 @@ msgstr ""
149
149
"Atenção: extensões que usam essa API devem preservar o comportamento "
150
150
"inalterado (padrão) de uma função *vectorcall*!"
151
151
152
- #: ../../c-api/function.rst:100
152
+ #: ../../c-api/function.rst:101
153
+ msgid ""
154
+ "Return the keyword-only argument default values of the function object *op*. "
155
+ "This can be a dictionary of arguments or ``NULL``."
156
+ msgstr ""
157
+
158
+ #: ../../c-api/function.rst:107
153
159
msgid ""
154
160
"Return the closure associated with the function object *op*. This can be "
155
161
"``NULL`` or a tuple of cell objects."
156
162
msgstr ""
157
163
"Retorna o fechamento associado ao objeto função *op*. Pode ser ``NULL`` ou "
158
164
"uma tupla de objetos célula."
159
165
160
- #: ../../c-api/function.rst:106
166
+ #: ../../c-api/function.rst:113
161
167
msgid ""
162
168
"Set the closure associated with the function object *op*. *closure* must be "
163
169
"``Py_None`` or a tuple of cell objects."
164
170
msgstr ""
165
171
"Define o fechamento associado ao objeto função *op*. *closure* deve ser "
166
172
"``Py_None`` ou uma tupla de objetos de célula."
167
173
168
- #: ../../c-api/function.rst:114
174
+ #: ../../c-api/function.rst:121
169
175
msgid ""
170
176
"Return the annotations of the function object *op*. This can be a mutable "
171
177
"dictionary or ``NULL``."
172
178
msgstr ""
173
179
"Retorna as anotações do objeto função *op*. Este pode ser um dicionário "
174
180
"mutável ou ``NULL``."
175
181
176
- #: ../../c-api/function.rst:120
182
+ #: ../../c-api/function.rst:127
177
183
msgid ""
178
184
"Set the annotations for the function object *op*. *annotations* must be a "
179
185
"dictionary or ``Py_None``."
180
186
msgstr ""
181
187
"Define as anotações para o objeto função *op*. *annotations* deve ser um "
182
188
"dicionário ou ``Py_None``."
183
189
184
- #: ../../c-api/function.rst:128
190
+ #: ../../c-api/function.rst:141
191
+ msgid ""
192
+ "These functions are similar to their ``PyFunction_Get*`` counterparts, but "
193
+ "do not do type checking. Passing anything other than an instance of :c:data:"
194
+ "`PyFunction_Type` is undefined behavior."
195
+ msgstr ""
196
+
197
+ #: ../../c-api/function.rst:148
185
198
msgid ""
186
199
"Register *callback* as a function watcher for the current interpreter. "
187
200
"Return an ID which may be passed to :c:func:`PyFunction_ClearWatcher`. In "
@@ -193,7 +206,7 @@ msgstr ""
193
206
"Em caso de erro (por exemplo, sem novos IDs de sentinelas disponíveis), "
194
207
"retorna ``-1`` e define uma exceção."
195
208
196
- #: ../../c-api/function.rst:138
209
+ #: ../../c-api/function.rst:158
197
210
msgid ""
198
211
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
199
212
"`PyFunction_AddWatcher` for the current interpreter. Return ``0`` on "
@@ -205,35 +218,35 @@ msgstr ""
205
218
"``0`` em caso de sucesso, ou ``-1`` e define uma exceção em caso de erro "
206
219
"(por exemplo, ao receber um *watcher_id* desconhecido.)"
207
220
208
- #: ../../c-api/function.rst:148
221
+ #: ../../c-api/function.rst:168
209
222
msgid "Enumeration of possible function watcher events:"
210
223
msgstr "Enumeração de possíveis eventos do observador de funções:"
211
224
212
- #: ../../c-api/function.rst:150
225
+ #: ../../c-api/function.rst:170
213
226
msgid "``PyFunction_EVENT_CREATE``"
214
227
msgstr "``PyFunction_EVENT_CREATE``"
215
228
216
- #: ../../c-api/function.rst:151
229
+ #: ../../c-api/function.rst:171
217
230
msgid "``PyFunction_EVENT_DESTROY``"
218
231
msgstr "``PyFunction_EVENT_DESTROY``"
219
232
220
- #: ../../c-api/function.rst:152
233
+ #: ../../c-api/function.rst:172
221
234
msgid "``PyFunction_EVENT_MODIFY_CODE``"
222
235
msgstr "``PyFunction_EVENT_MODIFY_CODE``"
223
236
224
- #: ../../c-api/function.rst:153
237
+ #: ../../c-api/function.rst:173
225
238
msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``"
226
239
msgstr "``PyFunction_EVENT_MODIFY_DEFAULTS``"
227
240
228
- #: ../../c-api/function.rst:154
241
+ #: ../../c-api/function.rst:174
229
242
msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
230
243
msgstr "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
231
244
232
- #: ../../c-api/function.rst:161
245
+ #: ../../c-api/function.rst:181
233
246
msgid "Type of a function watcher callback function."
234
247
msgstr "Tipo de uma função de retorno de sentinela de função."
235
248
236
- #: ../../c-api/function.rst:163
249
+ #: ../../c-api/function.rst:183
237
250
msgid ""
238
251
"If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` "
239
252
"then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term:"
@@ -245,15 +258,15 @@ msgstr ""
245
258
"emprestada` ao novo valor prestes a ser guardado em *func* para o atributo "
246
259
"que está sendo modificado."
247
260
248
- #: ../../c-api/function.rst:168
261
+ #: ../../c-api/function.rst:188
249
262
msgid ""
250
263
"The callback may inspect but must not modify *func*; doing so could have "
251
264
"unpredictable effects, including infinite recursion."
252
265
msgstr ""
253
266
"A função de retorno poderá somente inspecionar, e não modificar *func*. Caso "
254
267
"contrário, poderíamos ter efeitos imprevisíveis, incluindo recursão infinita."
255
268
256
- #: ../../c-api/function.rst:171
269
+ #: ../../c-api/function.rst:191
257
270
msgid ""
258
271
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
259
272
"after *func* has been fully initialized. Otherwise, the callback is invoked "
@@ -273,7 +286,7 @@ msgstr ""
273
286
"diferenças de comportamento em tempo de execução, elas não mudam a semântica "
274
287
"do código Python sendo executado."
275
288
276
- #: ../../c-api/function.rst:180
289
+ #: ../../c-api/function.rst:200
277
290
msgid ""
278
291
"If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the "
279
292
"callback to the about-to-be-destroyed function will resurrect it, preventing "
@@ -286,7 +299,7 @@ msgstr ""
286
299
"revivido for destruído, quaisquer funções de retorno sentinelas ativas nesse "
287
300
"momento poderão ser chamadas novamente."
288
301
289
- #: ../../c-api/function.rst:185
302
+ #: ../../c-api/function.rst:205
290
303
msgid ""
291
304
"If the callback sets an exception, it must return ``-1``; this exception "
292
305
"will be printed as an unraisable exception using :c:func:"
@@ -296,7 +309,7 @@ msgstr ""
296
309
"exceção será exibida como uma exceção não levantável usando :c:func:"
297
310
"`PyErr_WriteUnraisable`. Caso contrário, deverá retornar ``0``."
298
311
299
- #: ../../c-api/function.rst:189
312
+ #: ../../c-api/function.rst:209
300
313
msgid ""
301
314
"There may already be a pending exception set on entry to the callback. In "
302
315
"this case, the callback should return ``0`` with the same exception still "
0 commit comments