Skip to content

Commit e604e16

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com> Co-Authored-By: python-doc bot
1 parent 123159a commit e604e16

File tree

11 files changed

+14881
-14926
lines changed

11 files changed

+14881
-14926
lines changed

howto/enum.po

Lines changed: 113 additions & 233 deletions
Large diffs are not rendered by default.

library/ast.po

Lines changed: 320 additions & 311 deletions
Large diffs are not rendered by default.

library/enum.po

Lines changed: 197 additions & 156 deletions
Large diffs are not rendered by default.

library/exceptions.po

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-03-19 14:42+0000\n"
15+
"POT-Creation-Date: 2026-03-25 14:54+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1545,19 +1545,26 @@ msgstr ""
15451545
"de :exc:`Exception`."
15461546

15471547
#: ../../library/exceptions.rst:976
1548+
msgid ""
1549+
"The ``excs`` parameter may be any sequence, but lists and tuples are "
1550+
"specifically processed more efficiently here. For optimal performance, pass "
1551+
"a tuple as ``excs``."
1552+
msgstr ""
1553+
1554+
#: ../../library/exceptions.rst:982
15481555
msgid "The ``msg`` argument to the constructor. This is a read-only attribute."
15491556
msgstr ""
15501557
"O argumento ``msg`` para o construtor. Este é um atributo somente leitura."
15511558

1552-
#: ../../library/exceptions.rst:980
1559+
#: ../../library/exceptions.rst:986
15531560
msgid ""
15541561
"A tuple of the exceptions in the ``excs`` sequence given to the constructor. "
15551562
"This is a read-only attribute."
15561563
msgstr ""
15571564
"Uma tupla de exceções na sequência ``excs`` dada ao construtor. Este é um "
15581565
"atributo somente leitura."
15591566

1560-
#: ../../library/exceptions.rst:985
1567+
#: ../../library/exceptions.rst:991
15611568
msgid ""
15621569
"Returns an exception group that contains only the exceptions from the "
15631570
"current group that match *condition*, or ``None`` if the result is empty."
@@ -1566,7 +1573,7 @@ msgstr ""
15661573
"que correspondem à condição *condition* ou ``None`` se o resultado estiver "
15671574
"vazio."
15681575

1569-
#: ../../library/exceptions.rst:988
1576+
#: ../../library/exceptions.rst:994
15701577
msgid ""
15711578
"The condition can be an exception type or tuple of exception types, in which "
15721579
"case each exception is checked for a match using the same check that is used "
@@ -1581,7 +1588,7 @@ msgstr ""
15811588
"único argumento e retorna verdadeiro para a exceção que deve estar no "
15821589
"subgrupo."
15831590

1584-
#: ../../library/exceptions.rst:994
1591+
#: ../../library/exceptions.rst:1000
15851592
msgid ""
15861593
"The nesting structure of the current exception is preserved in the result, "
15871594
"as are the values of its :attr:`message`, :attr:`~BaseException."
@@ -1595,7 +1602,7 @@ msgstr ""
15951602
"__context__` e :attr:`~BaseException.__notes__`. Grupos aninhados vazios são "
15961603
"omitidos do resultado."
15971604

1598-
#: ../../library/exceptions.rst:1001
1605+
#: ../../library/exceptions.rst:1007
15991606
msgid ""
16001607
"The condition is checked for all exceptions in the nested exception group, "
16011608
"including the top-level and any nested exception groups. If the condition is "
@@ -1606,12 +1613,12 @@ msgstr ""
16061613
"aninhadas. Se a condição for verdadeira para tal grupo de exceções, ela será "
16071614
"incluída no resultado por completo."
16081615

1609-
#: ../../library/exceptions.rst:1005
1616+
#: ../../library/exceptions.rst:1011
16101617
msgid "``condition`` can be any callable which is not a type object."
16111618
msgstr ""
16121619
"``condition`` pode ser qualquer chamável que não seja um objeto de tipo."
16131620

1614-
#: ../../library/exceptions.rst:1010
1621+
#: ../../library/exceptions.rst:1016
16151622
msgid ""
16161623
"Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where "
16171624
"``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-"
@@ -1620,15 +1627,15 @@ msgstr ""
16201627
"Como :meth:`subgroup`, mas retorna o par ``(match, rest)`` onde ``match`` é "
16211628
"``subgroup(condition)`` e ``rest`` é a parte restante não correspondente."
16221629

1623-
#: ../../library/exceptions.rst:1016
1630+
#: ../../library/exceptions.rst:1022
16241631
msgid ""
16251632
"Returns an exception group with the same :attr:`message`, but which wraps "
16261633
"the exceptions in ``excs``."
16271634
msgstr ""
16281635
"Retorna um grupo de exceções com o mesmo :attr:`message`, mas que agrupa as "
16291636
"exceções em ``excs``."
16301637

1631-
#: ../../library/exceptions.rst:1019
1638+
#: ../../library/exceptions.rst:1025
16321639
msgid ""
16331640
"This method is used by :meth:`subgroup` and :meth:`split`, which are used in "
16341641
"various contexts to break up an exception group. A subclass needs to "
@@ -1640,7 +1647,7 @@ msgstr ""
16401647
"substituí-la para fazer com que :meth:`subgroup` e :meth:`split` retorne "
16411648
"instâncias da subclasse em vez de :exc:`ExceptionGroup`."
16421649

1643-
#: ../../library/exceptions.rst:1025
1650+
#: ../../library/exceptions.rst:1031
16441651
msgid ""
16451652
":meth:`subgroup` and :meth:`split` copy the :attr:`~BaseException."
16461653
"__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException."
@@ -1654,7 +1661,7 @@ msgstr ""
16541661
"original para o retornado por :meth:`derive`, então esses campos não "
16551662
"precisam ser atualizados por :meth:`derive`. ::"
16561663

1657-
#: ../../library/exceptions.rst:1032
1664+
#: ../../library/exceptions.rst:1038
16581665
msgid ""
16591666
">>> class MyGroup(ExceptionGroup):\n"
16601667
"... def derive(self, excs):\n"
@@ -1708,7 +1715,7 @@ msgstr ""
17081715
">>> exc.__traceback__ is match.__traceback__ is rest.__traceback__\n"
17091716
"True"
17101717

1711-
#: ../../library/exceptions.rst:1058
1718+
#: ../../library/exceptions.rst:1064
17121719
msgid ""
17131720
"Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so "
17141721
"subclasses that need a different constructor signature need to override that "
@@ -1722,7 +1729,7 @@ msgstr ""
17221729
"seguinte define uma subclasse de grupo de exceções que aceita um exit_code e "
17231730
"constrói a mensagem do grupo a partir dele. ::"
17241731

1725-
#: ../../library/exceptions.rst:1064
1732+
#: ../../library/exceptions.rst:1070
17261733
msgid ""
17271734
"class Errors(ExceptionGroup):\n"
17281735
" def __new__(cls, errors, exit_code):\n"
@@ -1742,7 +1749,7 @@ msgstr ""
17421749
" def derive(self, excs):\n"
17431750
" return Errors(excs, self.exit_code)"
17441751

1745-
#: ../../library/exceptions.rst:1073
1752+
#: ../../library/exceptions.rst:1079
17461753
msgid ""
17471754
"Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which "
17481755
"is also a subclass of :exc:`Exception` can only wrap instances of :exc:"
@@ -1752,15 +1759,15 @@ msgstr ""
17521759
"que também é uma subclasse de :exc:`Exception` só pode agrupar instâncias "
17531760
"de :exc:`Exception`."
17541761

1755-
#: ../../library/exceptions.rst:1081
1762+
#: ../../library/exceptions.rst:1087
17561763
msgid "Exception hierarchy"
17571764
msgstr "Hierarquia das exceções"
17581765

1759-
#: ../../library/exceptions.rst:1083
1766+
#: ../../library/exceptions.rst:1089
17601767
msgid "The class hierarchy for built-in exceptions is:"
17611768
msgstr "A hierarquia de classes para exceções embutidas é:"
17621769

1763-
#: ../../library/exceptions.rst:1085
1770+
#: ../../library/exceptions.rst:1091
17641771
msgid ""
17651772
"BaseException\n"
17661773
" ├── BaseExceptionGroup\n"

potodo.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 60.47% done
2-
└── 3.14/ 60.47% done
1+
1 directory 60.45% done
2+
└── 3.14/ 60.45% done
33
├── bugs.po 96.0% translated 30/31
44
├── c-api/ 52.66% done
55
│ ├── call.po 97.0% translated 97/99
@@ -42,9 +42,9 @@
4242
│ └── newtypes.po 6.0% translated 8/117
4343
├── faq/ 94.39% done
4444
│ └── programming.po 91.0% translated 461/506
45-
├── howto/ 65.95% done
45+
├── howto/ 66.08% done
4646
│ ├── descriptor.po 81.0% translated 187/230
47-
│ ├── enum.po 37.0% translated 121/327
47+
│ ├── enum.po 37.0% translated 115/309
4848
│ ├── functional.po 62.0% translated 158/252
4949
│ ├── instrumentation.po 78.0% translated 78/99
5050
│ ├── logging-cookbook.po 9.0% translated 41/435
@@ -53,10 +53,10 @@
5353
│ ├── sorting.po 54.0% translated 50/92
5454
│ └── unicode.po 20.0% translated 30/145
5555
├── installing/ 100.00% done
56-
├── library/ 59.53% done
56+
├── library/ 59.52% done
5757
│ ├── __future__.po 91.0% translated 45/49
5858
│ ├── array.po 96.0% translated 85/88
59-
│ ├── ast.po 97.0% translated 328/336
59+
│ ├── ast.po 97.0% translated 328/337
6060
│ ├── asyncio-dev.po 61.0% translated 52/84
6161
│ ├── asyncio-eventloop.po 73.0% translated 306/417
6262
│ ├── asyncio-future.po 26.0% translated 17/64
@@ -116,8 +116,9 @@
116116
│ ├── email.policy.po 10.0% translated 11/108
117117
│ ├── email.utils.po 97.0% translated 35/36
118118
│ ├── ensurepip.po 95.0% translated 38/40
119-
│ ├── enum.po 50.0% translated 127/251
119+
│ ├── enum.po 49.0% translated 127/257
120120
│ ├── errno.po 71.0% translated 115/161
121+
│ ├── exceptions.po 99.0% translated 202/203
121122
│ ├── faulthandler.po 7.0% translated 4/53
122123
│ ├── fcntl.po 96.0% translated 52/54
123124
│ ├── filecmp.po 95.0% translated 40/42
@@ -259,23 +260,25 @@
259260
│ ├── zipfile.po 98.0% translated 212/216
260261
│ ├── zipimport.po 94.0% translated 37/39
261262
│ └── zoneinfo.po 44.0% translated 37/84
262-
├── reference/ 94.87% done
263+
├── reference/ 94.81% done
263264
│ ├── compound_stmts.po 98.0% translated 473/480
264-
│ ├── datamodel.po 97.0% translated 885/912
265+
│ ├── datamodel.po 96.0% translated 884/912
265266
│ ├── expressions.po 88.0% translated 514/583
266267
│ ├── grammar.po 50.0% translated 3/6
267268
│ ├── import.po 99.0% translated 199/200
268269
│ └── simple_stmts.po 97.0% translated 284/291
269-
├── tutorial/ 99.17% done
270+
├── tutorial/ 98.91% done
270271
│ ├── classes.po 99.0% translated 148/149
271272
│ ├── controlflow.po 98.0% translated 223/226
272273
│ ├── datastructures.po 99.0% translated 126/127
274+
│ ├── errors.po 98.0% translated 95/96
273275
│ ├── stdlib.po 80.0% translated 54/67
274276
│ └── whatnow.po 94.0% translated 17/18
275-
├── using/ 96.73% done
277+
├── using/ 96.61% done
278+
│ ├── cmdline.po 99.0% translated 264/265
276279
│ ├── configure.po 99.0% translated 465/467
277280
│ └── windows.po 95.0% translated 532/556
278-
└── whatsnew/ 50.37% done
281+
└── whatsnew/ 50.35% done
279282
├── 2.3.po 83.0% translated 325/387
280283
├── 2.4.po 83.0% translated 266/319
281284
├── 2.5.po 85.0% translated 388/452
@@ -288,6 +291,5 @@
288291
├── 3.5.po 22.0% translated 128/578
289292
├── 3.6.po 42.0% translated 232/544
290293
├── 3.7.po 43.0% translated 249/568
291-
├── 3.8.po 99.0% translated 512/513
292294
├── 3.9.po 99.0% translated 379/380
293-
└── changelog.po 25.0% translated 3488/13941
295+
└── changelog.po 25.0% translated 3488/13947

reference/datamodel.po

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-03-19 14:42+0000\n"
16+
"POT-Creation-Date: 2026-03-25 14:54+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1818
"Last-Translator: python-doc bot, 2026\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -3583,14 +3583,9 @@ msgstr ""
35833583
msgid ""
35843584
"This is intended to provide protection against a denial-of-service caused by "
35853585
"carefully chosen inputs that exploit the worst case performance of a dict "
3586-
"insertion, *O*\\ (*n*\\ :sup:`2`) complexity. See http://ocert.org/"
3586+
"insertion, *O*\\ (*n*\\ :sup:`2`) complexity. See https://ocert.org/"
35873587
"advisories/ocert-2011-003.html for details."
35883588
msgstr ""
3589-
"Isso se destina a fornecer proteção contra uma negação de serviço causada "
3590-
"por entradas cuidadosamente escolhidas que exploram o pior caso de "
3591-
"desempenho de uma inserção de dicionário, complexidade *O*\\ (*n*\\ :sup:"
3592-
"`2`). Consulte http://ocert.org/advisories/ocert-2011-003.html para obter "
3593-
"detalhes."
35943589

35953590
#: ../../reference/datamodel.rst:2287
35963591
msgid ""

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "60.47%", "translated": 53434, "entries": 82777, "updated_at": "2026-03-23T23:14:19+00:00Z"}
1+
{"completion": "60.45%", "translated": 53426, "entries": 82773, "updated_at": "2026-03-25T23:15:59+00:00Z"}

tutorial/errors.po

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-03-23 14:50+0000\n"
15+
"POT-Creation-Date: 2026-03-25 14:54+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1189,34 +1189,11 @@ msgid ""
11891189
">>> try:\n"
11901190
"... f()\n"
11911191
"... except Exception as e:\n"
1192-
"... print(f'caught {type(e)}: e')\n"
1192+
"... print(f'caught {type(e)}: {e}')\n"
11931193
"...\n"
1194-
"caught <class 'ExceptionGroup'>: e\n"
1194+
"caught <class 'ExceptionGroup'>: there were problems (2 sub-exceptions)\n"
11951195
">>>"
11961196
msgstr ""
1197-
">>> def f():\n"
1198-
"... excs = [OSError('error 1'), SystemError('error 2')]\n"
1199-
"... raise ExceptionGroup('houve problemas', excs)\n"
1200-
"...\n"
1201-
">>> f()\n"
1202-
" + Exception Group Traceback (most recent call last):\n"
1203-
" | File \"<stdin>\", line 1, in <module>\n"
1204-
" | f()\n"
1205-
" | ~^^\n"
1206-
" | File \"<stdin>\", line 3, in f\n"
1207-
" | ExceptionGroup: houve problemas (2 sub-exceptions)\n"
1208-
" +-+---------------- 1 ----------------\n"
1209-
" | OSError: error 1\n"
1210-
" +---------------- 2 ----------------\n"
1211-
" | SystemError: error 2\n"
1212-
" +------------------------------------\n"
1213-
">>> try:\n"
1214-
"... f()\n"
1215-
"... except Exception as e:\n"
1216-
"... print(f'capturada {type(e)}: e')\n"
1217-
"...\n"
1218-
"capturada <class 'ExceptionGroup'>: e\n"
1219-
">>>"
12201197

12211198
#: ../../tutorial/errors.rst:557
12221199
msgid ""

using/cmdline.po

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-03-21 14:21+0000\n"
15+
"POT-Creation-Date: 2026-03-25 14:54+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -706,13 +706,8 @@ msgid ""
706706
"Hash randomization is intended to provide protection against a denial-of-"
707707
"service caused by carefully chosen inputs that exploit the worst case "
708708
"performance of a dict construction, *O*\\ (*n*\\ :sup:`2`) complexity. See "
709-
"http://ocert.org/advisories/ocert-2011-003.html for details."
709+
"https://ocert.org/advisories/ocert-2011-003.html for details."
710710
msgstr ""
711-
"A aleatorização com hash se destina a fornecer proteção contra uma negação "
712-
"de serviço causada por entradas cuidadosamente escolhidas que exploram o "
713-
"pior caso de desempenho de uma inserção de dicionário, complexidade *O*\\ "
714-
"(*n*\\ :sup:`2`). Consulte http://ocert.org/advisories/ocert-2011-003.html "
715-
"para obter detalhes."
716711

717712
#: ../../using/cmdline.rst:386
718713
msgid ""

0 commit comments

Comments
 (0)