Skip to content

Commit 0b2d21c

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 774b057 commit 0b2d21c

21 files changed

+4696
-4020
lines changed

c-api/dict.po

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"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"
1818
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -105,15 +105,14 @@ msgstr ""
105105
"``0`` em caso de sucesso ou ``-1`` em caso de falha. Esta função *não* rouba "
106106
"uma referência a *val*."
107107

108-
#: ../../c-api/dict.rst:75
108+
#: ../../c-api/dict.rst:73
109109
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*`."
114113
msgstr ""
115114

116-
#: ../../c-api/dict.rst:83
115+
#: ../../c-api/dict.rst:80
117116
msgid ""
118117
"Remove the entry in dictionary *p* with key *key*. *key* must be :term:"
119118
"`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not in the "
@@ -125,14 +124,14 @@ msgstr ""
125124
"no dicionário, :exc:`KeyError` é levantada. Retorna ``0`` em caso de sucesso "
126125
"ou ``-1`` em caso de falha."
127126

128-
#: ../../c-api/dict.rst:91
127+
#: ../../c-api/dict.rst:88
129128
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*`."
133132
msgstr ""
134133

135-
#: ../../c-api/dict.rst:99
134+
#: ../../c-api/dict.rst:95
136135
msgid ""
137136
"Return the object from dictionary *p* which has a key *key*. Return "
138137
"``NULL`` if the key *key* is not present, but *without* setting an exception."
@@ -141,7 +140,7 @@ msgstr ""
141140
"``NULL`` se a chave *key* não estiver presente, mas *sem* definir uma "
142141
"exceção."
143142

144-
#: ../../c-api/dict.rst:104
143+
#: ../../c-api/dict.rst:100
145144
msgid ""
146145
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
147146
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
@@ -151,15 +150,15 @@ msgstr ""
151150
"`~object.__eq__` são ignoradas silenciosamente. Ao invés disso, use a "
152151
"função :c:func:`PyDict_GetItemWithError`."
153152

154-
#: ../../c-api/dict.rst:108
153+
#: ../../c-api/dict.rst:104
155154
msgid ""
156155
"Calling this API without :term:`GIL` held had been allowed for historical "
157156
"reason. It is no longer allowed."
158157
msgstr ""
159158
"Chamar esta API sem :term:`GIL` retido foi permitido por motivos históricos. "
160159
"Não é mais permitido."
161160

162-
#: ../../c-api/dict.rst:115
161+
#: ../../c-api/dict.rst:111
163162
msgid ""
164163
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
165164
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -169,14 +168,14 @@ msgstr ""
169168
"``NULL`` **com** uma exceção definida se uma exceção ocorreu. Retorna "
170169
"``NULL`` ** sem ** uma exceção definida se a chave não estiver presente."
171170

172-
#: ../../c-api/dict.rst:123
171+
#: ../../c-api/dict.rst:119
173172
msgid ""
174173
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
175174
"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
176175
"`PyObject*`."
177176
msgstr ""
178177

179-
#: ../../c-api/dict.rst:129
178+
#: ../../c-api/dict.rst:125
180179
msgid ""
181180
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
182181
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
@@ -189,7 +188,7 @@ msgstr ""
189188
"`PyDict_GetItemWithError` com sua própria *key* de :c:func:"
190189
"`PyUnicode_FromString`."
191190

192-
#: ../../c-api/dict.rst:138
191+
#: ../../c-api/dict.rst:134
193192
msgid ""
194193
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
195194
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -204,35 +203,35 @@ msgstr ""
204203
"será retornado. Esta função avalia a função hash de *key* apenas uma vez, em "
205204
"vez de avaliá-la independentemente para a pesquisa e a inserção."
206205

207-
#: ../../c-api/dict.rst:148
206+
#: ../../c-api/dict.rst:144
208207
msgid ""
209208
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
210209
msgstr ""
211210
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
212211

213-
#: ../../c-api/dict.rst:153
212+
#: ../../c-api/dict.rst:149
214213
msgid ""
215214
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
216215
msgstr ""
217216
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
218217

219-
#: ../../c-api/dict.rst:158
218+
#: ../../c-api/dict.rst:154
220219
msgid ""
221220
"Return a :c:type:`PyListObject` containing all the values from the "
222221
"dictionary *p*."
223222
msgstr ""
224223
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
225224
"*p*."
226225

227-
#: ../../c-api/dict.rst:166
226+
#: ../../c-api/dict.rst:162
228227
msgid ""
229228
"Return the number of items in the dictionary. This is equivalent to "
230229
"``len(p)`` on a dictionary."
231230
msgstr ""
232231
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
233232
"um dicionário."
234233

235-
#: ../../c-api/dict.rst:172
234+
#: ../../c-api/dict.rst:168
236235
msgid ""
237236
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
238237
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -256,11 +255,11 @@ msgstr ""
256255
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
257256
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
258257

259-
#: ../../c-api/dict.rst:183
258+
#: ../../c-api/dict.rst:179
260259
msgid "For example::"
261260
msgstr "Por exemplo::"
262261

263-
#: ../../c-api/dict.rst:193
262+
#: ../../c-api/dict.rst:189
264263
msgid ""
265264
"The dictionary *p* should not be mutated during iteration. It is safe to "
266265
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -270,7 +269,7 @@ msgstr ""
270269
"modificar os valores das chaves à medida que você itera no dicionário, mas "
271270
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
272271

273-
#: ../../c-api/dict.rst:218
272+
#: ../../c-api/dict.rst:214
274273
msgid ""
275274
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
276275
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -287,7 +286,7 @@ msgstr ""
287286
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
288287
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
289288

290-
#: ../../c-api/dict.rst:228
289+
#: ../../c-api/dict.rst:224
291290
msgid ""
292291
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
293292
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -301,7 +300,7 @@ msgstr ""
301300
"argumento não tiver o atributo \"keys\". Retorna ``0`` em caso de sucesso ou "
302301
"``-1`` se uma exceção foi levantada."
303302

304-
#: ../../c-api/dict.rst:237
303+
#: ../../c-api/dict.rst:233
305304
msgid ""
306305
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
307306
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -316,49 +315,49 @@ msgstr ""
316315
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
317316
"levantada. Python equivalente (exceto para o valor de retorno)::"
318317

319-
#: ../../c-api/dict.rst:251
318+
#: ../../c-api/dict.rst:247
320319
msgid ""
321320
"Register *callback* as a dictionary watcher. Return a non-negative integer "
322321
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
323322
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
324323
"exception."
325324
msgstr ""
326325

327-
#: ../../c-api/dict.rst:260
326+
#: ../../c-api/dict.rst:256
328327
msgid ""
329328
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
330329
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
331330
"given *watcher_id* was never registered.)"
332331
msgstr ""
333332

334-
#: ../../c-api/dict.rst:268
333+
#: ../../c-api/dict.rst:264
335334
msgid ""
336335
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
337336
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
338337
"deallocated. Return ``0`` on success or ``-1`` on error."
339338
msgstr ""
340339

341-
#: ../../c-api/dict.rst:276
340+
#: ../../c-api/dict.rst:272
342341
msgid ""
343342
"Mark dictionary *dict* as no longer watched. The callback granted "
344343
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
345344
"*dict* is modified or deallocated. The dict must previously have been "
346345
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
347346
msgstr ""
348347

349-
#: ../../c-api/dict.rst:285
348+
#: ../../c-api/dict.rst:281
350349
msgid ""
351350
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
352351
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
353352
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
354353
"``PyDict_EVENT_DEALLOCATED``."
355354
msgstr ""
356355

357-
#: ../../c-api/dict.rst:293
356+
#: ../../c-api/dict.rst:289
358357
msgid "Type of a dict watcher callback function."
359358
msgstr ""
360359

361-
#: ../../c-api/dict.rst:295
360+
#: ../../c-api/dict.rst:291
362361
msgid ""
363362
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
364363
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -367,22 +366,22 @@ msgid ""
367366
"dictionary and *new_value* will be ``NULL``."
368367
msgstr ""
369368

370-
#: ../../c-api/dict.rst:301
369+
#: ../../c-api/dict.rst:297
371370
msgid ""
372371
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
373372
"dict is merged into it. To maintain efficiency of this operation, per-key "
374373
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
375374
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
376375
msgstr ""
377376

378-
#: ../../c-api/dict.rst:307
377+
#: ../../c-api/dict.rst:303
379378
msgid ""
380379
"The callback may inspect but must not modify *dict*; doing so could have "
381380
"unpredictable effects, including infinite recursion. Do not trigger Python "
382381
"code execution in the callback, as it could modify the dict as a side effect."
383382
msgstr ""
384383

385-
#: ../../c-api/dict.rst:311
384+
#: ../../c-api/dict.rst:307
386385
msgid ""
387386
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
388387
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -391,20 +390,20 @@ msgid ""
391390
"again."
392391
msgstr ""
393392

394-
#: ../../c-api/dict.rst:317
393+
#: ../../c-api/dict.rst:313
395394
msgid ""
396395
"Callbacks occur before the notified modification to *dict* takes place, so "
397396
"the prior state of *dict* can be inspected."
398397
msgstr ""
399398

400-
#: ../../c-api/dict.rst:320
399+
#: ../../c-api/dict.rst:316
401400
msgid ""
402401
"If the callback sets an exception, it must return ``-1``; this exception "
403402
"will be printed as an unraisable exception using :c:func:"
404403
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
405404
msgstr ""
406405

407-
#: ../../c-api/dict.rst:324
406+
#: ../../c-api/dict.rst:320
408407
msgid ""
409408
"There may already be a pending exception set on entry to the callback. In "
410409
"this case, the callback should return ``0`` with the same exception still "
@@ -421,14 +420,10 @@ msgstr "objeto"
421420
msgid "dictionary"
422421
msgstr "dicionário"
423422

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
429424
msgid "built-in function"
430425
msgstr "função embutida"
431426

432-
#: ../../c-api/dict.rst:164
427+
#: ../../c-api/dict.rst:160
433428
msgid "len"
434429
msgstr "len"

0 commit comments

Comments
 (0)