Skip to content

Commit 4334234

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: python-doc bot
1 parent c9ac9a2 commit 4334234

19 files changed

Lines changed: 219 additions & 67 deletions

c-api/float.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-17 03:50+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -222,14 +222,17 @@ msgstr "``-0.0`` e ``+0.0`` produzem a mesma sequência de bytes."
222222
#: ../../c-api/float.rst:126
223223
msgid "Pack a C double as the IEEE 754 binary16 half-precision format."
224224
msgstr ""
225+
"Empacota um C duplo como o formato de meia precisão binário16 IEEE 754."
225226

226227
#: ../../c-api/float.rst:130
227228
msgid "Pack a C double as the IEEE 754 binary32 single precision format."
228229
msgstr ""
230+
"Empacota um C duplo como o formato de precisão simples binário32 IEEE 754."
229231

230232
#: ../../c-api/float.rst:134
231233
msgid "Pack a C double as the IEEE 754 binary64 double precision format."
232234
msgstr ""
235+
"Empacota um C duplo como o formato de precisão dupla binária 64 IEEE 754."
233236

234237
#: ../../c-api/float.rst:138
235238
msgid "Unpack functions"
@@ -273,14 +276,17 @@ msgstr ""
273276
#: ../../c-api/float.rst:156
274277
msgid "Unpack the IEEE 754 binary16 half-precision format as a C double."
275278
msgstr ""
279+
"Descompacta o formato de meia precisão IEEE 754 binary16 como um double C."
276280

277281
#: ../../c-api/float.rst:160
278282
msgid "Unpack the IEEE 754 binary32 single precision format as a C double."
279283
msgstr ""
284+
"Descompacta o formato IEEE 754 binary32 de precisão simples como um C double."
280285

281286
#: ../../c-api/float.rst:164
282287
msgid "Unpack the IEEE 754 binary64 double precision format as a C double."
283288
msgstr ""
289+
"Descompacta o formato IEEE 754 binary64 de precisão dupla como um C double."
284290

285291
#: ../../c-api/float.rst:8
286292
msgid "object"

extending/building.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -69,6 +70,12 @@ msgid ""
6970
"with ``<name>`` encoded using Python's *punycode* encoding with hyphens "
7071
"replaced by underscores. In Python::"
7172
msgstr ""
73+
"Para módulos com nomes com somente ASCII, a função deve ser nomeada :samp:"
74+
"`PyInit_{<nome>}`, com ``<nome>`` substituído pelo nome do módulo. Ao usar :"
75+
"ref:`multi-phase-initialization`, nomes de módulos não ASCII são permitidos. "
76+
"Neste caso, o nome da função de inicialização é :samp:`PyInitU_{<nome>}`, "
77+
"com ``<nome>`` codificado usando a codificação *punycode* do Python com "
78+
"hífenes substituídos por sublinhados. Em Python::"
7279

7380
#: ../../extending/building.rst:32
7481
msgid ""

library/fractions.po

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -43,6 +44,8 @@ msgid ""
4344
"A Fraction instance can be constructed from a pair of rational numbers, from "
4445
"a single number, or from a string."
4546
msgstr ""
47+
"Uma instância de Fraction pode ser construída a partir de um par de números "
48+
"racionais, de um único número ou de uma string."
4649

4750
#: ../../library/fractions.rst:26
4851
msgid ""
@@ -61,6 +64,21 @@ msgid ""
6164
"below.) The last version of the constructor expects a string or unicode "
6265
"instance. The usual form for this instance is::"
6366
msgstr ""
67+
"A primeira versão requer que *numerator* e *denominator* sejam instâncias "
68+
"de :class:`numbers.Rational` e retorna uma nova instância de :class:"
69+
"`Fraction` com um valor igual a ``numerator/denominator``. Se *denominator* "
70+
"for zero, ele levanta uma :exc:`ZeroDivisionError`. A segunda versão requer "
71+
"que *other_fraction* seja uma instância de :class:`numbers.Rational` e "
72+
"retorna uma instância de :class:`Fraction` com o mesmo valor. As próximas "
73+
"duas versões aceitam uma instância de :class:`float` ou :class:`decimal."
74+
"Decimal` e retornam uma instância de :class:`Fraction` com exatamente o "
75+
"mesmo valor. Note que devido aos problemas usuais com ponto flutuante "
76+
"binário (veja :ref:`tut-fp-issues`), o argumento para ``Fraction(1.1)`` não "
77+
"é exatamente igual a 11/10, e então ``Fraction(1.1)`` *não* retorna "
78+
"``Fraction(11, 10)`` como seria de se esperar. (Mas veja a documentação para "
79+
"o método :meth:`limit_denominator` abaixo.) A última versão do construtor "
80+
"espera uma instância de string ou unicode. A forma usual para esta instância "
81+
"é::"
6482

6583
#: ../../library/fractions.rst:41
6684
msgid "[sign] numerator ['/' denominator]"
@@ -216,7 +234,7 @@ msgstr "Numerador de Fraction no menor termo."
216234

217235
#: ../../library/fractions.rst:119
218236
msgid "Denominator of the Fraction in lowest terms. Guaranteed to be positive."
219-
msgstr ""
237+
msgstr "Denominador de Fraction em termos mínimos. Garantidamente positivo."
220238

221239
#: ../../library/fractions.rst:125
222240
msgid ""

library/functions.po

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-17 03:50+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -3057,6 +3057,18 @@ msgid ""
30573057
"`float` with an integral exponent, a float result is delivered. For example, "
30583058
"``pow(-9, 2.0)`` returns ``81.0``."
30593059
msgstr ""
3060+
"Quando argumentos são tipos numéricos embutidos com tipos de operandos "
3061+
"mistos, aplicam-se as regras de coerção para operadores aritméticos "
3062+
"binários. Para operandos :class:`int`, o resultado tem o mesmo tipo que os "
3063+
"operandos (após coerção), a menos que o segundo argumento seja negativo; "
3064+
"nesse caso, todos os argumentos são convertidos em ponto flutuante e um "
3065+
"resultado ponto flutuante é entregue. Por exemplo, ``pow(10, 2)`` retorna "
3066+
"``100``, mas ``pow(10, -2)`` retorna ``0.01``. Para uma base negativa do "
3067+
"tipo :class:`int` ou :class:`float` e um expoente não integral, um resultado "
3068+
"complexo é entregue. Por exemplo, ``pow(-9, 0.5)`` retorna um valor próximo "
3069+
"a ``3j``. Enquanto isso, para uma base negativa do tipo :class:`int` ou :"
3070+
"class:`float` com um expoente integral, um resultado de ponto flutuante é "
3071+
"retornado. Por exemplo, ``pow(-9, 2.0)`` retorna ``81.0``."
30603072

30613073
#: ../../library/functions.rst:1584
30623074
msgid ""

library/gc.po

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -195,6 +196,21 @@ msgid ""
195196
"garbage_collector.md#collecting-the-oldest-generation>`_ for more "
196197
"information."
197198
msgstr ""
199+
"O GC classifica os objetos em três gerações, dependendo de quantas "
200+
"varreduras de coleta eles sobreviveram. Novos objetos são colocados na "
201+
"geração mais nova (geração ``0``). Se um objeto sobreviver a uma coleção, "
202+
"ele será movido para a próxima geração mais antiga. Como a geração ``2`` é a "
203+
"geração mais antiga, os objetos dessa geração permanecem lá após uma coleta. "
204+
"Para decidir quando executar, o coletor acompanha o número de alocações e "
205+
"desalocações de objetos desde a última coleta. Quando o número de alocações "
206+
"menos o número de desalocações exceder *threshold0*, a coleta será iniciada. "
207+
"Inicialmente, apenas a geração ``0`` é examinada. Se a geração ``0`` foi "
208+
"examinada mais de *threshold1* vezes desde que a geração ``1`` foi "
209+
"examinada, então a geração ``1`` também é examinada. Com a terceira geração, "
210+
"as coisas são um pouco mais complicadas, veja `Coletando a geração mais "
211+
"antiga <https://github.com/python/cpython/blob/"
212+
"ff0ef0a54bef26fc507fbf9b7a6009eb7d3f17f5/InternalDocs/garbage_collector."
213+
"md#collecting-the-oldest-generation>`_ para mais informações."
198214

199215
#: ../../library/gc.rst:121
200216
msgid ""

library/importlib.resources.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-17 03:50+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -55,6 +55,15 @@ msgid ""
5555
"practice, however, resources are primarily those non-Python artifacts "
5656
"exposed specifically by the package author."
5757
msgstr ""
58+
"\"Recursos\" são recursos arquivo ou similares associados a um módulo ou "
59+
"pacote em Python. Os recursos podem estar contidos diretamente em um pacote, "
60+
"em um subdiretório contido nesse pacote ou adjacentes a módulos fora de um "
61+
"pacote. Os recursos podem ser de texto ou binários. Como resultado, as "
62+
"fontes de módulos Python de um pacote (.py), artefatos de compilação "
63+
"(pycache) e artefatos de instalação (como :func:`nomes de arquivos "
64+
"reservados <os.path.isreserved>` em diretórios) são tecnicamente recursos de "
65+
"fato desse pacote. Na prática, entretanto, os recursos são principalmente os "
66+
"artefatos não-Python expostos especificamente pelo autor do pacote."
5867

5968
#: ../../library/importlib.resources.rst:26
6069
msgid "Resources can be opened or read in either binary or text mode."

library/numbers.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -133,11 +134,11 @@ msgstr ""
133134

134135
#: ../../library/numbers.rst:72
135136
msgid "Abstract. The numerator of this rational number."
136-
msgstr ""
137+
msgstr "Abstrato. O numerador deste número racional."
137138

138139
#: ../../library/numbers.rst:76
139140
msgid "Abstract. The denominator of this rational number."
140-
msgstr ""
141+
msgstr "Abstrato. O denominador deste número racional."
141142

142143
#: ../../library/numbers.rst:81
143144
msgid ""

library/pathlib.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-17 03:50+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2767,7 +2767,7 @@ msgstr ""
27672767

27682768
#: ../../library/pathlib.rst:1522
27692769
msgid "Renaming and deleting"
2770-
msgstr ""
2770+
msgstr "Renomeando e excluindo"
27712771

27722772
#: ../../library/pathlib.rst:1526
27732773
msgid ""

library/pkgutil.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1516
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -118,6 +119,7 @@ msgstr ""
118119
#: ../../library/pkgutil.rst:54
119120
msgid "Retrieve a module :term:`loader` for the given *fullname*."
120121
msgstr ""
122+
"Recupera o :term:`carregador` de um módulo para o *fullname* fornecido."
121123

122124
#: ../../library/pkgutil.rst:56
123125
msgid ""
@@ -126,6 +128,10 @@ msgid ""
126128
"returns the loader rather than the full :class:`importlib.machinery."
127129
"ModuleSpec`."
128130
msgstr ""
131+
"Este é um invólucro para retrocompatibilidade em torno de :func:`importlib."
132+
"util.find_spec` que converte a maioria das falhas em :exc:`ImportError` e "
133+
"retorna apenas o carregador, em vez do :class:`importlib.machinery."
134+
"ModuleSpec` completo."
129135

130136
#: ../../library/pkgutil.rst:61 ../../library/pkgutil.rst:82
131137
#: ../../library/pkgutil.rst:97 ../../library/pkgutil.rst:121
@@ -139,11 +145,11 @@ msgstr ""
139145

140146
#: ../../library/pkgutil.rst:65 ../../library/pkgutil.rst:101
141147
msgid "Updated to be based on :pep:`451`"
142-
msgstr ""
148+
msgstr "Atualizado para ser baseado na :pep:`451`"
143149

144150
#: ../../library/pkgutil.rst:68 ../../library/pkgutil.rst:104
145151
msgid "Use :func:`importlib.util.find_spec` instead."
146-
msgstr ""
152+
msgstr "Use :func:`importlib.util.find_spec`."
147153

148154
#: ../../library/pkgutil.rst:74
149155
msgid "Retrieve a :term:`finder` for the given *path_item*."
@@ -167,7 +173,7 @@ msgstr ""
167173

168174
#: ../../library/pkgutil.rst:89
169175
msgid "Get a :term:`loader` object for *module_or_name*."
170-
msgstr ""
176+
msgstr "Obtém um objeto :term:`carregador` para *module_or_name*."
171177

172178
#: ../../library/pkgutil.rst:91
173179
msgid ""
@@ -177,6 +183,11 @@ msgid ""
177183
"not already imported, its containing package (if any) is imported, in order "
178184
"to establish the package ``__path__``."
179185
msgstr ""
186+
"Se o módulo ou pacote estiver acessível pelo mecanismo de importação normal, "
187+
"um invólucro em torno da parte relevante desse maquinário será retornado. "
188+
"Retorna ``None`` se o módulo não puder ser encontrado ou importado. Se o "
189+
"módulo nomeado ainda não tiver sido importado, o pacote que o contém (se "
190+
"houver) será importado para estabelecer o pacote ``__path__``."
180191

181192
#: ../../library/pkgutil.rst:110
182193
msgid "Yield :term:`finder` objects for the given module name."

library/string.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-17 03:50+0000\n"
15+
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:04+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -789,6 +789,8 @@ msgid ""
789789
"The *grouping* option after the *width* field specifies a digit group "
790790
"separator for the integral part of a number. It can be one of the following:"
791791
msgstr ""
792+
"A opção *grouping* após o campo *width* especifica um separador de grupo de "
793+
"dígitos para a parte inteira de um número. Pode ser um dos seguintes:"
792794

793795
#: ../../library/string.rst:444
794796
msgid "``','``"
@@ -1446,6 +1448,14 @@ msgid ""
14461448
">>> '{:_x}'.format(1234567890)\n"
14471449
"'4996_02d2'"
14481450
msgstr ""
1451+
">>> '{:,}'.format(1234567890)\n"
1452+
"'1,234,567,890'\n"
1453+
">>> '{:_}'.format(1234567890)\n"
1454+
"'1_234_567_890'\n"
1455+
">>> '{:_b}'.format(1234567890)\n"
1456+
"'100_1001_1001_0110_0000_0010_1101_0010'\n"
1457+
">>> '{:_x}'.format(1234567890)\n"
1458+
"'4996_02d2'"
14491459

14501460
#: ../../library/string.rst:734
14511461
msgid "Expressing a percentage::"

0 commit comments

Comments
 (0)