1313# ApenasRR Mesmo <apenasrr@gmail.com>, 2021
1414# Alexandre B A Villares, 2022
1515# Adorilson Bezerra <adorilson@gmail.com>, 2024
16- # Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1716# Alfredo Braga <alfredorodruguesbraga@gmail.com>, 2024
17+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2025
1818#
1919#, fuzzy
2020msgid ""
2121msgstr ""
2222"Project-Id-Version : Python 3.9\n "
2323"Report-Msgid-Bugs-To : \n "
24- "POT-Creation-Date : 2025-04-25 16:43 +0000\n "
24+ "POT-Creation-Date : 2025-07-04 17:30 +0000\n "
2525"PO-Revision-Date : 2017-02-16 17:44+0000\n "
26- "Last-Translator : Alfredo Braga <alfredorodruguesbraga @gmail.com>, 2024 \n "
26+ "Last-Translator : Rafael Fontenelle <rffontenelle @gmail.com>, 2025 \n "
2727"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
2828"teams/5390/pt_BR/)\n "
2929"Language : pt_BR\n "
@@ -998,14 +998,17 @@ msgstr ""
998998msgid ""
999999"In addition to :meth:`~generator.send`, there are two other methods on "
10001000"generators:"
1001- msgstr ""
1001+ msgstr "Além de :meth:`~generator.send`, há dois outros métodos em geradores: "
10021002
10031003#: ../../howto/functional.rst:592
10041004msgid ""
10051005":meth:`throw(value) <generator.throw>` is used to raise an exception inside "
10061006"the generator; the exception is raised by the ``yield`` expression where the "
10071007"generator's execution is paused."
10081008msgstr ""
1009+ ":meth:`throw(value) <generator.throw>` é usado para gerar uma exceção dentro "
1010+ "do gerador; a exceção é levantada pela expressão ``yield`` onde a execução "
1011+ "do gerador é pausada."
10091012
10101013#: ../../howto/functional.rst:596
10111014msgid ""
@@ -1024,6 +1027,9 @@ msgid ""
10241027"suggest using a ``try: ... finally:`` suite instead of catching :exc:"
10251028"`GeneratorExit`."
10261029msgstr ""
1030+ "Se você precisar executar um código de limpeza quando ocorrer um :exc:"
1031+ "`GeneratorExit`, sugiro usar um conjunto ``try: ... finally:`` em vez de "
1032+ "capturar :exc:`GeneratorExit`."
10271033
10281034#: ../../howto/functional.rst:607
10291035msgid ""
@@ -1041,6 +1047,11 @@ msgid ""
10411047"can be entered, exited, and resumed at many different points (the ``yield`` "
10421048"statements)."
10431049msgstr ""
1050+ "Geradores também se tornam **corrotinas**, uma forma mais generalizada de "
1051+ "subrotinas. As subrotinas são inseridas em um ponto e encerradas em outro (o "
1052+ "topo da função e uma instrução ``return``), mas as corrotinas podem ser "
1053+ "inseridas, encerradas e retomadas em muitos pontos diferentes (as instruções "
1054+ "``yield``)."
10441055
10451056#: ../../howto/functional.rst:617
10461057msgid "Built-in functions"
@@ -1058,16 +1069,20 @@ msgid ""
10581069"Two of Python's built-in functions, :func:`map` and :func:`filter` duplicate "
10591070"the features of generator expressions:"
10601071msgstr ""
1072+ "Duas das funções embutidas do Python, :func:`map` e :func:`filter` duplicam "
1073+ "os recursos das expressões geradoras:"
10611074
10621075#: ../../howto/functional.rst:633
10631076msgid ""
10641077":func:`map(f, iterA, iterB, ...) <map>` returns an iterator over the sequence"
10651078msgstr ""
1079+ ":func:`map(f, iterA, iterB, ...) <map>` retorna um iterador sobre a sequência"
10661080
10671081#: ../../howto/functional.rst:625
10681082msgid ""
10691083"``f(iterA[0], iterB[0]), f(iterA[1], iterB[1]), f(iterA[2], iterB[2]), ...``."
10701084msgstr ""
1085+ "``f(iterA[0], iterB[0]), f(iterA[1], iterB[1]), f(iterA[2], iterB[2]), ...``."
10711086
10721087#: ../../howto/functional.rst:635
10731088msgid "You can of course achieve the same effect with a list comprehension."
0 commit comments