@@ -14,7 +14,7 @@ msgid ""
14
14
msgstr ""
15
15
"Project-Id-Version : Python 3.12\n "
16
16
"Report-Msgid-Bugs-To : \n "
17
- "POT-Creation-Date : 2023-08-25 20:17 +0000\n "
17
+ "POT-Creation-Date : 2023-09-08 14:13 +0000\n "
18
18
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
19
19
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
20
20
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -105,15 +105,14 @@ msgstr ""
105
105
"``0`` em caso de sucesso ou ``-1`` em caso de falha. Esta função *não* rouba "
106
106
"uma referência a *val*."
107
107
108
- #: ../../c-api/dict.rst:75
108
+ #: ../../c-api/dict.rst:73
109
109
msgid ""
110
- "Insert *val* into the dictionary *p* using *key* as a key. *key* should be "
111
- "a :c:expr:`const char*` UTF-8 encoded bytes string. The key object is "
112
- "created using ``PyUnicode_FromString(key)``. Return ``0`` on success or "
113
- "``-1`` on failure. This function *does not* steal a reference to *val*."
110
+ "This is the same as :c:func:`PyDict_SetItem`, but *key* is specified as a :c:"
111
+ "expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
112
+ "`PyObject*`."
114
113
msgstr ""
115
114
116
- #: ../../c-api/dict.rst:83
115
+ #: ../../c-api/dict.rst:80
117
116
msgid ""
118
117
"Remove the entry in dictionary *p* with key *key*. *key* must be :term:"
119
118
"`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not in the "
@@ -125,14 +124,14 @@ msgstr ""
125
124
"no dicionário, :exc:`KeyError` é levantada. Retorna ``0`` em caso de sucesso "
126
125
"ou ``-1`` em caso de falha."
127
126
128
- #: ../../c-api/dict.rst:91
127
+ #: ../../c-api/dict.rst:88
129
128
msgid ""
130
- "Remove the entry in dictionary *p* which has a key specified by the UTF-8 "
131
- "encoded bytes string *key*. If *key* is not in the dictionary, :exc :"
132
- "`KeyError` is raised. Return ``0`` on success or ``-1`` on failure ."
129
+ "This is the same as :c:func:`PyDict_DelItem`, but *key* is specified as a :c: "
130
+ "expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr :"
131
+ "`PyObject*` ."
133
132
msgstr ""
134
133
135
- #: ../../c-api/dict.rst:99
134
+ #: ../../c-api/dict.rst:95
136
135
msgid ""
137
136
"Return the object from dictionary *p* which has a key *key*. Return "
138
137
"``NULL`` if the key *key* is not present, but *without* setting an exception."
@@ -141,7 +140,7 @@ msgstr ""
141
140
"``NULL`` se a chave *key* não estiver presente, mas *sem* definir uma "
142
141
"exceção."
143
142
144
- #: ../../c-api/dict.rst:104
143
+ #: ../../c-api/dict.rst:100
145
144
msgid ""
146
145
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
147
146
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
@@ -151,15 +150,15 @@ msgstr ""
151
150
"`~object.__eq__` são ignoradas silenciosamente. Ao invés disso, use a "
152
151
"função :c:func:`PyDict_GetItemWithError`."
153
152
154
- #: ../../c-api/dict.rst:108
153
+ #: ../../c-api/dict.rst:104
155
154
msgid ""
156
155
"Calling this API without :term:`GIL` held had been allowed for historical "
157
156
"reason. It is no longer allowed."
158
157
msgstr ""
159
158
"Chamar esta API sem :term:`GIL` retido foi permitido por motivos históricos. "
160
159
"Não é mais permitido."
161
160
162
- #: ../../c-api/dict.rst:115
161
+ #: ../../c-api/dict.rst:111
163
162
msgid ""
164
163
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
165
164
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -169,14 +168,14 @@ msgstr ""
169
168
"``NULL`` **com** uma exceção definida se uma exceção ocorreu. Retorna "
170
169
"``NULL`` ** sem ** uma exceção definida se a chave não estiver presente."
171
170
172
- #: ../../c-api/dict.rst:123
171
+ #: ../../c-api/dict.rst:119
173
172
msgid ""
174
173
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
175
174
"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
176
175
"`PyObject*`."
177
176
msgstr ""
178
177
179
- #: ../../c-api/dict.rst:129
178
+ #: ../../c-api/dict.rst:125
180
179
msgid ""
181
180
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
182
181
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
@@ -189,7 +188,7 @@ msgstr ""
189
188
"`PyDict_GetItemWithError` com sua própria *key* de :c:func:"
190
189
"`PyUnicode_FromString`."
191
190
192
- #: ../../c-api/dict.rst:138
191
+ #: ../../c-api/dict.rst:134
193
192
msgid ""
194
193
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
195
194
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -204,35 +203,35 @@ msgstr ""
204
203
"será retornado. Esta função avalia a função hash de *key* apenas uma vez, em "
205
204
"vez de avaliá-la independentemente para a pesquisa e a inserção."
206
205
207
- #: ../../c-api/dict.rst:148
206
+ #: ../../c-api/dict.rst:144
208
207
msgid ""
209
208
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
210
209
msgstr ""
211
210
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
212
211
213
- #: ../../c-api/dict.rst:153
212
+ #: ../../c-api/dict.rst:149
214
213
msgid ""
215
214
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
216
215
msgstr ""
217
216
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
218
217
219
- #: ../../c-api/dict.rst:158
218
+ #: ../../c-api/dict.rst:154
220
219
msgid ""
221
220
"Return a :c:type:`PyListObject` containing all the values from the "
222
221
"dictionary *p*."
223
222
msgstr ""
224
223
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
225
224
"*p*."
226
225
227
- #: ../../c-api/dict.rst:166
226
+ #: ../../c-api/dict.rst:162
228
227
msgid ""
229
228
"Return the number of items in the dictionary. This is equivalent to "
230
229
"``len(p)`` on a dictionary."
231
230
msgstr ""
232
231
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
233
232
"um dicionário."
234
233
235
- #: ../../c-api/dict.rst:172
234
+ #: ../../c-api/dict.rst:168
236
235
msgid ""
237
236
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
238
237
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -256,11 +255,11 @@ msgstr ""
256
255
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
257
256
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
258
257
259
- #: ../../c-api/dict.rst:183
258
+ #: ../../c-api/dict.rst:179
260
259
msgid "For example::"
261
260
msgstr "Por exemplo::"
262
261
263
- #: ../../c-api/dict.rst:193
262
+ #: ../../c-api/dict.rst:189
264
263
msgid ""
265
264
"The dictionary *p* should not be mutated during iteration. It is safe to "
266
265
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -270,7 +269,7 @@ msgstr ""
270
269
"modificar os valores das chaves à medida que você itera no dicionário, mas "
271
270
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
272
271
273
- #: ../../c-api/dict.rst:218
272
+ #: ../../c-api/dict.rst:214
274
273
msgid ""
275
274
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
276
275
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -287,7 +286,7 @@ msgstr ""
287
286
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
288
287
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
289
288
290
- #: ../../c-api/dict.rst:228
289
+ #: ../../c-api/dict.rst:224
291
290
msgid ""
292
291
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
293
292
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -301,7 +300,7 @@ msgstr ""
301
300
"argumento não tiver o atributo \" keys\" . Retorna ``0`` em caso de sucesso ou "
302
301
"``-1`` se uma exceção foi levantada."
303
302
304
- #: ../../c-api/dict.rst:237
303
+ #: ../../c-api/dict.rst:233
305
304
msgid ""
306
305
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
307
306
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -316,49 +315,49 @@ msgstr ""
316
315
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
317
316
"levantada. Python equivalente (exceto para o valor de retorno)::"
318
317
319
- #: ../../c-api/dict.rst:251
318
+ #: ../../c-api/dict.rst:247
320
319
msgid ""
321
320
"Register *callback* as a dictionary watcher. Return a non-negative integer "
322
321
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
323
322
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
324
323
"exception."
325
324
msgstr ""
326
325
327
- #: ../../c-api/dict.rst:260
326
+ #: ../../c-api/dict.rst:256
328
327
msgid ""
329
328
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
330
329
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
331
330
"given *watcher_id* was never registered.)"
332
331
msgstr ""
333
332
334
- #: ../../c-api/dict.rst:268
333
+ #: ../../c-api/dict.rst:264
335
334
msgid ""
336
335
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
337
336
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
338
337
"deallocated. Return ``0`` on success or ``-1`` on error."
339
338
msgstr ""
340
339
341
- #: ../../c-api/dict.rst:276
340
+ #: ../../c-api/dict.rst:272
342
341
msgid ""
343
342
"Mark dictionary *dict* as no longer watched. The callback granted "
344
343
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
345
344
"*dict* is modified or deallocated. The dict must previously have been "
346
345
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
347
346
msgstr ""
348
347
349
- #: ../../c-api/dict.rst:285
348
+ #: ../../c-api/dict.rst:281
350
349
msgid ""
351
350
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
352
351
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
353
352
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
354
353
"``PyDict_EVENT_DEALLOCATED``."
355
354
msgstr ""
356
355
357
- #: ../../c-api/dict.rst:293
356
+ #: ../../c-api/dict.rst:289
358
357
msgid "Type of a dict watcher callback function."
359
358
msgstr ""
360
359
361
- #: ../../c-api/dict.rst:295
360
+ #: ../../c-api/dict.rst:291
362
361
msgid ""
363
362
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
364
363
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -367,22 +366,22 @@ msgid ""
367
366
"dictionary and *new_value* will be ``NULL``."
368
367
msgstr ""
369
368
370
- #: ../../c-api/dict.rst:301
369
+ #: ../../c-api/dict.rst:297
371
370
msgid ""
372
371
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
373
372
"dict is merged into it. To maintain efficiency of this operation, per-key "
374
373
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
375
374
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
376
375
msgstr ""
377
376
378
- #: ../../c-api/dict.rst:307
377
+ #: ../../c-api/dict.rst:303
379
378
msgid ""
380
379
"The callback may inspect but must not modify *dict*; doing so could have "
381
380
"unpredictable effects, including infinite recursion. Do not trigger Python "
382
381
"code execution in the callback, as it could modify the dict as a side effect."
383
382
msgstr ""
384
383
385
- #: ../../c-api/dict.rst:311
384
+ #: ../../c-api/dict.rst:307
386
385
msgid ""
387
386
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
388
387
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -391,20 +390,20 @@ msgid ""
391
390
"again."
392
391
msgstr ""
393
392
394
- #: ../../c-api/dict.rst:317
393
+ #: ../../c-api/dict.rst:313
395
394
msgid ""
396
395
"Callbacks occur before the notified modification to *dict* takes place, so "
397
396
"the prior state of *dict* can be inspected."
398
397
msgstr ""
399
398
400
- #: ../../c-api/dict.rst:320
399
+ #: ../../c-api/dict.rst:316
401
400
msgid ""
402
401
"If the callback sets an exception, it must return ``-1``; this exception "
403
402
"will be printed as an unraisable exception using :c:func:"
404
403
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
405
404
msgstr ""
406
405
407
- #: ../../c-api/dict.rst:324
406
+ #: ../../c-api/dict.rst:320
408
407
msgid ""
409
408
"There may already be a pending exception set on entry to the callback. In "
410
409
"this case, the callback should return ``0`` with the same exception still "
@@ -421,14 +420,10 @@ msgstr "objeto"
421
420
msgid "dictionary"
422
421
msgstr "dicionário"
423
422
424
- #: ../../c-api/dict.rst:73
425
- msgid "PyUnicode_FromString()"
426
- msgstr ""
427
-
428
- #: ../../c-api/dict.rst:164
423
+ #: ../../c-api/dict.rst:160
429
424
msgid "built-in function"
430
425
msgstr "função embutida"
431
426
432
- #: ../../c-api/dict.rst:164
427
+ #: ../../c-api/dict.rst:160
433
428
msgid "len"
434
429
msgstr "len"
0 commit comments