Skip to content

Commit 7413e27

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 54204a1 commit 7413e27

File tree

2 files changed

+213
-209
lines changed

2 files changed

+213
-209
lines changed

library/contextvars.po

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2022-12-14 16:17+0000\n"
16+
"POT-Creation-Date: 2022-12-20 16:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
1818
"Last-Translator: i17obot <i17obot@rougeth.com>, 2021\n"
1919
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
@@ -227,10 +227,18 @@ msgstr ""
227227
"do contexto atual, use a função :func:`~contextvars.copy_context`."
228228

229229
#: ../../library/contextvars.rst:147
230+
msgid ""
231+
"Every thread will have a different top-level :class:`~contextvars.Context` "
232+
"object. This means that a :class:`ContextVar` object behaves in a similar "
233+
"fashion to :func:`threading.local()` when values are assigned in different "
234+
"threads."
235+
msgstr ""
236+
237+
#: ../../library/contextvars.rst:152
230238
msgid "Context implements the :class:`collections.abc.Mapping` interface."
231239
msgstr "Context implementa a interface :class:`collections.abc.Mapping`."
232240

233-
#: ../../library/contextvars.rst:151
241+
#: ../../library/contextvars.rst:156
234242
msgid ""
235243
"Execute ``callable(*args, **kwargs)`` code in the context object the *run* "
236244
"method is called on. Return the result of the execution or propagate an "
@@ -240,15 +248,15 @@ msgstr ""
240248
"método *run* é chamado. Retorna o resultado da execução ou propaga uma "
241249
"exceção, se ocorrer."
242250

243-
#: ../../library/contextvars.rst:155
251+
#: ../../library/contextvars.rst:160
244252
msgid ""
245253
"Any changes to any context variables that *callable* makes will be contained "
246254
"in the context object::"
247255
msgstr ""
248256
"Quaisquer mudanças em quaisquer variáveis de contexto que *callable* faça "
249257
"estarão contidas no objeto de contexto::"
250258

251-
#: ../../library/contextvars.rst:184
259+
#: ../../library/contextvars.rst:189
252260
msgid ""
253261
"The method raises a :exc:`RuntimeError` when called on the same context "
254262
"object from more than one OS thread, or when called recursively."
@@ -257,27 +265,27 @@ msgstr ""
257265
"contexto de mais de uma thread do sistema operacional, ou quando chamado "
258266
"recursivamente."
259267

260-
#: ../../library/contextvars.rst:190
268+
#: ../../library/contextvars.rst:195
261269
msgid "Return a shallow copy of the context object."
262270
msgstr "Retorna uma cópia rasa do objeto contexto."
263271

264-
#: ../../library/contextvars.rst:194
272+
#: ../../library/contextvars.rst:199
265273
msgid ""
266274
"Return ``True`` if the *context* has a value for *var* set; return ``False`` "
267275
"otherwise."
268276
msgstr ""
269277
"Retorna ``True`` se *context* tem uma variável para *var* definida; do "
270278
"contrário, retorna ``False``."
271279

272-
#: ../../library/contextvars.rst:199
280+
#: ../../library/contextvars.rst:204
273281
msgid ""
274282
"Return the value of the *var* :class:`ContextVar` variable. If the variable "
275283
"is not set in the context object, a :exc:`KeyError` is raised."
276284
msgstr ""
277285
"Retorna o valor da variável :class:`ContextVar` *var*. Se a variável não for "
278286
"definida no objeto contexto, uma :exc:`KeyError` é levantada."
279287

280-
#: ../../library/contextvars.rst:205
288+
#: ../../library/contextvars.rst:210
281289
msgid ""
282290
"Return the value for *var* if *var* has the value in the context object. "
283291
"Return *default* otherwise. If *default* is not given, return ``None``."
@@ -286,36 +294,36 @@ msgstr ""
286294
"contrário, retorna *default*. Se *default* não for fornecido, retorna "
287295
"``None``."
288296

289-
#: ../../library/contextvars.rst:211
297+
#: ../../library/contextvars.rst:216
290298
msgid "Return an iterator over the variables stored in the context object."
291299
msgstr "Retorna um iterador sobre as variáveis armazenadas no objeto contexto."
292300

293-
#: ../../library/contextvars.rst:216
301+
#: ../../library/contextvars.rst:221
294302
msgid "Return the number of variables set in the context object."
295303
msgstr "Retorna o número das variáveis definidas no objeto contexto."
296304

297-
#: ../../library/contextvars.rst:220
305+
#: ../../library/contextvars.rst:225
298306
msgid "Return a list of all variables in the context object."
299307
msgstr "Retorna uma lista de todas as variáveis no objeto contexto."
300308

301-
#: ../../library/contextvars.rst:224
309+
#: ../../library/contextvars.rst:229
302310
msgid "Return a list of all variables' values in the context object."
303311
msgstr ""
304312
"Retorna uma lista dos valores de todas as variáveis no objeto contexto."
305313

306-
#: ../../library/contextvars.rst:229
314+
#: ../../library/contextvars.rst:234
307315
msgid ""
308316
"Return a list of 2-tuples containing all variables and their values in the "
309317
"context object."
310318
msgstr ""
311319
"Retorna uma lista de tuplas de 2 elementos contendo todas as variáveis e "
312320
"seus valores no objeto contexto."
313321

314-
#: ../../library/contextvars.rst:234
322+
#: ../../library/contextvars.rst:239
315323
msgid "asyncio support"
316324
msgstr "Suporte a asyncio"
317325

318-
#: ../../library/contextvars.rst:236
326+
#: ../../library/contextvars.rst:241
319327
msgid ""
320328
"Context variables are natively supported in :mod:`asyncio` and are ready to "
321329
"be used without any extra configuration. For example, here is a simple echo "

0 commit comments

Comments
 (0)