@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
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
230238msgid "Context implements the :class:`collections.abc.Mapping` interface."
231239msgstr "Context implementa a interface :class:`collections.abc.Mapping`."
232240
233- #: ../../library/contextvars.rst:151
241+ #: ../../library/contextvars.rst:156
234242msgid ""
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
244252msgid ""
245253"Any changes to any context variables that *callable* makes will be contained "
246254"in the context object::"
247255msgstr ""
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
252260msgid ""
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
261269msgid "Return a shallow copy of the context object."
262270msgstr "Retorna uma cópia rasa do objeto contexto."
263271
264- #: ../../library/contextvars.rst:194
272+ #: ../../library/contextvars.rst:199
265273msgid ""
266274"Return ``True`` if the *context* has a value for *var* set; return ``False`` "
267275"otherwise."
268276msgstr ""
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
273281msgid ""
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."
276284msgstr ""
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
281289msgid ""
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
290298msgid "Return an iterator over the variables stored in the context object."
291299msgstr "Retorna um iterador sobre as variáveis armazenadas no objeto contexto."
292300
293- #: ../../library/contextvars.rst:216
301+ #: ../../library/contextvars.rst:221
294302msgid "Return the number of variables set in the context object."
295303msgstr "Retorna o número das variáveis definidas no objeto contexto."
296304
297- #: ../../library/contextvars.rst:220
305+ #: ../../library/contextvars.rst:225
298306msgid "Return a list of all variables in the context object."
299307msgstr "Retorna uma lista de todas as variáveis no objeto contexto."
300308
301- #: ../../library/contextvars.rst:224
309+ #: ../../library/contextvars.rst:229
302310msgid "Return a list of all variables' values in the context object."
303311msgstr ""
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
307315msgid ""
308316"Return a list of 2-tuples containing all variables and their values in the "
309317"context object."
310318msgstr ""
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
315323msgid "asyncio support"
316324msgstr "Suporte a asyncio"
317325
318- #: ../../library/contextvars.rst:236
326+ #: ../../library/contextvars.rst:241
319327msgid ""
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