@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.12\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2025-12-23 15:50 +0000\n "
16+ "POT-Creation-Date : 2025-12-25 15:42 +0000\n "
1717"PO-Revision-Date : 2025-07-18 19:57+0000\n "
1818"Last-Translator : Adorilson Bezerra <adorilson@gmail.com>, 2025\n "
1919"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -2041,13 +2041,15 @@ msgstr ""
20412041
20422042#: ../../library/asyncio-task.rst:1343
20432043msgid "Returns the remaining number of cancellation requests."
2044- msgstr ""
2044+ msgstr "Retorna o número restante de pedidos de cancelamento. "
20452045
20462046#: ../../library/asyncio-task.rst:1345
20472047msgid ""
20482048"Note that once execution of a cancelled task completed, further calls to :"
20492049"meth:`uncancel` are ineffective."
20502050msgstr ""
2051+ "Note que, uma vez concluída a execução de uma tarefa cancelada, chamadas "
2052+ "adicionais para :meth:`uncancel` são ineficazes."
20512053
20522054#: ../../library/asyncio-task.rst:1350
20532055msgid ""
@@ -2071,6 +2073,11 @@ msgid ""
20712073" # Outer code not affected by the timeout:\n"
20722074" await unrelated_code()"
20732075msgstr ""
2076+ "async def make_request_with_timeout(): try: async with asyncio."
2077+ "timeout(1): # Bloco estruturado afetado pelo timeout: "
2078+ "await make_request() await make_another_request() except "
2079+ "TimeoutError: log(\" Ocorreu um timeout\" ) # Código externo não "
2080+ "afetado pelo timeout: await unrelated_code()"
20742081
20752082#: ../../library/asyncio-task.rst:1368
20762083msgid ""
@@ -2080,13 +2087,21 @@ msgid ""
20802087"`uncancel`. :class:`TaskGroup` context managers use :func:`uncancel` in a "
20812088"similar fashion."
20822089msgstr ""
2090+ "Enquanto o bloco com ``make_request()`` e ``make_another_request()`` possa "
2091+ "ser cancelado devido ao timeout, ``unrelated_code()`` deve continuar a "
2092+ "executar mesmo em caso de timeout. Isto é implementado com :meth:`uncancel`. "
2093+ "Os gerenciadores de contexto :class:`TaskGroup` usam :func:`uncancel` de "
2094+ "forma semelhante."
20832095
20842096#: ../../library/asyncio-task.rst:1374
20852097msgid ""
20862098"If end-user code is, for some reason, suppressing cancellation by catching :"
20872099"exc:`CancelledError`, it needs to call this method to remove the "
20882100"cancellation state."
20892101msgstr ""
2102+ "Se o código do usuário final, por alguma razão, estiver suprimindo o "
2103+ "cancelamento ao capturar :exc:`CancelledError`, precisa chamar este método "
2104+ "para remover o estado de cancelamento."
20902105
20912106#: ../../library/asyncio-task.rst:1380
20922107msgid ""
0 commit comments