@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.13\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2025-11-11 15:06 +0000\n "
17+ "POT-Creation-Date : 2025-11-13 15:03 +0000\n "
1818"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1919"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2025\n "
2020"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -28,7 +28,7 @@ msgstr ""
2828
2929#: ../../c-api/exceptions.rst:8
3030msgid "Exception Handling"
31- msgstr "Tratamento de Exceções "
31+ msgstr "Tratamento de exceções "
3232
3333#: ../../c-api/exceptions.rst:10
3434msgid ""
@@ -225,7 +225,7 @@ msgstr ""
225225
226226#: ../../c-api/exceptions.rst:123
227227msgid "Raising exceptions"
228- msgstr "Lançando exceções"
228+ msgstr "Levantando exceções"
229229
230230#: ../../c-api/exceptions.rst:125
231231msgid ""
@@ -507,23 +507,32 @@ msgid ""
507507"Get the source line in *filename* at line *lineno*. *filename* should be a "
508508"Python :class:`str` object."
509509msgstr ""
510+ "Obtém a linha de código-fonte em *filename* na linha *lineno*. *filename* "
511+ "deve ser um objeto :class:`str` Python."
510512
511513#: ../../c-api/exceptions.rst:339
512514msgid ""
513515"On success, this function returns a Python string object with the found "
514516"line. On failure, this function returns ``NULL`` without an exception set."
515517msgstr ""
518+ "Em caso de sucesso, esta função retorna um objeto string do Python com a "
519+ "linha encontrada. Em caso de falha, esta função retorna ``NULL`` sem definir "
520+ "uma exceção."
516521
517522#: ../../c-api/exceptions.rst:345
518523msgid ""
519524"Similar to :c:func:`PyErr_ProgramTextObject`, but *filename* is a :c:expr:"
520525"`const char *`, which is decoded with the :term:`filesystem encoding and "
521526"error handler`, instead of a Python object reference."
522527msgstr ""
528+ "Semelhante a :c:func:`PyErr_ProgramTextObject`, mas *filename* é um :c:expr:"
529+ "`const char *`, que é decodificado com :term:`tratador de erros e "
530+ "codificação do sistema de arquivos`, em vez de uma referência de objeto "
531+ "Python."
523532
524533#: ../../c-api/exceptions.rst:352
525534msgid "Issuing warnings"
526- msgstr "Emitindo advertências "
535+ msgstr "Emitindo avisos "
527536
528537#: ../../c-api/exceptions.rst:354
529538msgid ""
@@ -563,6 +572,12 @@ msgid ""
563572"stack frame. A *stack_level* of 1 is the function calling :c:func:"
564573"`PyErr_WarnEx`, 2 is the function above that, and so forth."
565574msgstr ""
575+ "Emite uma mensagem de aviso. O argumento *category* é uma categoria de aviso "
576+ "(veja abaixo) ou ``NULL``; o argumento *message* é uma string codificada em "
577+ "UTF-8. *stack_level* é um número positivo que indica o número de quadros da "
578+ "pilha; o aviso será emitido a partir da linha de código atualmente em "
579+ "execução nesse quadro da pilha. Um *stack_level* de 1 é a função que chama :"
580+ "c:func:`PyErr_WarnEx`, 2 é a função acima dessa e assim por diante."
566581
567582#: ../../c-api/exceptions.rst:376
568583msgid ""
@@ -572,13 +587,21 @@ msgid ""
572587"warning categories are available as global variables whose names are "
573588"enumerated at :ref:`standardwarningcategories`."
574589msgstr ""
590+ "As categorias de aviso devem ser subclasses de :c:data:`PyExc_Warning`; :c:"
591+ "data:`PyExc_Warning` é uma subclasse de :c:data:`PyExc_Exception`; a "
592+ "categoria de aviso padrão é :c:data:`PyExc_RuntimeWarning`. As categorias de "
593+ "aviso padrão do Python estão disponíveis como variáveis globais cujos nomes "
594+ "estão enumerados em :ref:`standardwarningcategories`."
575595
576596#: ../../c-api/exceptions.rst:382
577597msgid ""
578598"For information about warning control, see the documentation for the :mod:"
579599"`warnings` module and the :option:`-W` option in the command line "
580600"documentation. There is no C API for warning control."
581601msgstr ""
602+ "Para obter informações sobre o controle de avisos, consulte a documentação "
603+ "do módulo :mod:`warnings` e a opção :option:`-W` na documentação da linha de "
604+ "comando. Não existe uma API C para o controle de avisos."
582605
583606#: ../../c-api/exceptions.rst:389
584607msgid ""
@@ -587,13 +610,21 @@ msgid ""
587610"warn_explicit`; see there for more information. The *module* and *registry* "
588611"arguments may be set to ``NULL`` to get the default effect described there."
589612msgstr ""
613+ "Emite uma mensagem de aviso com controle explícito sobre todos os atributos "
614+ "de aviso. Trata-se de um invólucro simples em torno da função Python :func:"
615+ "`warnings.warn_explicit`; consulte-a para obter mais informações. Os "
616+ "argumentos *module* e *registry* podem ser definidos como ``NULL`` para "
617+ "obter o efeito padrão descrito nessa função."
590618
591619#: ../../c-api/exceptions.rst:400
592620msgid ""
593621"Similar to :c:func:`PyErr_WarnExplicitObject` except that *message* and "
594622"*module* are UTF-8 encoded strings, and *filename* is decoded from the :term:"
595623"`filesystem encoding and error handler`."
596624msgstr ""
625+ "Semelhante a :c:func:`PyErr_WarnExplicitObject`, exceto que *message* e "
626+ "*module* são strings codificadas em UTF-8 e *filename* é decodificado a "
627+ "partir do :term:`tratador de erros e codificação do sistema de arquivos`."
597628
598629#: ../../c-api/exceptions.rst:407
599630msgid ""
0 commit comments