Skip to content

Commit 557a885

Browse files
Update translation
Co-Authored-By: python-doc bot
1 parent a47fe5b commit 557a885

13 files changed

Lines changed: 3423 additions & 3228 deletions

File tree

c-api/intro.po

Lines changed: 293 additions & 154 deletions
Large diffs are not rendered by default.

glossary.po

Lines changed: 308 additions & 263 deletions
Large diffs are not rendered by default.

howto/logging-cookbook.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-16 17:23+0000\n"
14+
"POT-Creation-Date: 2026-02-05 14:39+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -485,7 +485,7 @@ msgid ""
485485
"# tell the handler to use this format\n"
486486
"console.setFormatter(formatter)\n"
487487
"# add the handler to the root logger\n"
488-
"logging.getLogger('').addHandler(console)\n"
488+
"logging.getLogger().addHandler(console)\n"
489489
"\n"
490490
"# Now, we can log to the root logger, or any other logger. First the "
491491
"root...\n"
@@ -1002,7 +1002,7 @@ msgstr ""
10021002
msgid ""
10031003
"import logging, logging.handlers\n"
10041004
"\n"
1005-
"rootLogger = logging.getLogger('')\n"
1005+
"rootLogger = logging.getLogger()\n"
10061006
"rootLogger.setLevel(logging.DEBUG)\n"
10071007
"socketHandler = logging.handlers.SocketHandler('localhost',\n"
10081008
" logging.handlers.DEFAULT_TCP_LOGGING_PORT)\n"

library/functions.po

Lines changed: 13 additions & 17 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-01-13 14:20+0000\n"
16+
"POT-Creation-Date: 2026-02-05 14:39+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1818
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -3561,26 +3561,22 @@ msgstr ""
35613561

35623562
#: ../../library/functions.rst:1846
35633563
msgid ""
3564-
"Slice objects have read-only data attributes :attr:`!start`, :attr:`!stop`, "
3565-
"and :attr:`!step` which merely return the argument values (or their "
3566-
"default). They have no other explicit functionality; however, they are used "
3567-
"by NumPy and other third-party packages."
3564+
"Slice objects are also generated when :ref:`slicing syntax <slicings>` is "
3565+
"used. For example: ``a[start:stop:step]`` or ``a[start:stop, i]``."
35683566
msgstr ""
3569-
"Objetos fatia têm atributos de dados somente leitura :attr:`!start`, :attr:`!"
3570-
"stop` e :attr:`!step` que simplesmente retornam os valores dos argumentos "
3571-
"(ou seus padrões). Eles não possuem outra funcionalidade explícita; no "
3572-
"entanto, eles são usados pelo NumPy e outros pacotes de terceiros."
35733567

3574-
#: ../../library/functions.rst:1855
3568+
#: ../../library/functions.rst:1849
35753569
msgid ""
3576-
"Slice objects are also generated when extended indexing syntax is used. For "
3577-
"example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See :func:"
3578-
"`itertools.islice` for an alternate version that returns an :term:`iterator`."
3570+
"See :func:`itertools.islice` for an alternate version that returns an :term:"
3571+
"`iterator`."
3572+
msgstr ""
3573+
3574+
#: ../../library/functions.rst:1856
3575+
msgid ""
3576+
"These read-only attributes are set to the argument values (or their "
3577+
"default). They have no other explicit functionality; however, they are used "
3578+
"by NumPy and other third-party packages."
35793579
msgstr ""
3580-
"Objetos fatia também são gerados quando a sintaxe de indexação estendida é "
3581-
"usada. Por exemplo: ``a[start:stop:step]`` ou ``a[start:stop, i]``. Veja :"
3582-
"func:`itertools.islice` para uma versão alternativa que retorna um :term:"
3583-
"`iterador`."
35843580

35853581
#: ../../library/functions.rst:1860
35863582
msgid ""

library/itertools.po

Lines changed: 12 additions & 5 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-01-13 14:20+0000\n"
15+
"POT-Creation-Date: 2026-02-05 14:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1663,7 +1663,8 @@ msgid ""
16631663
"from contextlib import suppress\n"
16641664
"from functools import reduce\n"
16651665
"from math import comb, isqrt, prod, sumprod\n"
1666-
"from operator import getitem, is_not, itemgetter, mul, neg\n"
1666+
"from operator import getitem, is_not, itemgetter, mul, neg, truediv\n"
1667+
"\n"
16671668
"\n"
16681669
"# ==== Basic one liners ====\n"
16691670
"\n"
@@ -1676,9 +1677,10 @@ msgid ""
16761677
" # prepend(1, [2, 3, 4]) → 1 2 3 4\n"
16771678
" return chain([value], iterable)\n"
16781679
"\n"
1679-
"def tabulate(function, start=0):\n"
1680-
" \"Return function(0), function(1), ...\"\n"
1681-
" return map(function, count(start))\n"
1680+
"def running_mean(iterable):\n"
1681+
" \"Yield the average of all values seen so far.\"\n"
1682+
" # running_mean([8.5, 9.5, 7.5, 6.5]) -> 8.5 9.0 8.5 8.0\n"
1683+
" return map(truediv, accumulate(iterable), count(1))\n"
16821684
"\n"
16831685
"def repeatfunc(function, times=None, *args):\n"
16841686
" \"Repeat calls to a function with specified arguments.\"\n"
@@ -1733,6 +1735,7 @@ msgid ""
17331735
" # all_equal('4٤௪౪໔', key=int) → True\n"
17341736
" return len(take(2, groupby(iterable, key))) <= 1\n"
17351737
"\n"
1738+
"\n"
17361739
"# ==== Data pipelines ====\n"
17371740
"\n"
17381741
"def unique_justseen(iterable, key=None):\n"
@@ -1844,6 +1847,7 @@ msgid ""
18441847
" while True:\n"
18451848
" yield function()\n"
18461849
"\n"
1850+
"\n"
18471851
"# ==== Mathematical operations ====\n"
18481852
"\n"
18491853
"def multinomial(*counts):\n"
@@ -1863,6 +1867,7 @@ msgid ""
18631867
" # sum_of_squares([10, 20, 30]) → 1400\n"
18641868
" return sumprod(*tee(iterable))\n"
18651869
"\n"
1870+
"\n"
18661871
"# ==== Matrix operations ====\n"
18671872
"\n"
18681873
"def reshape(matrix, columns):\n"
@@ -1881,6 +1886,7 @@ msgid ""
18811886
" n = len(m2[0])\n"
18821887
" return batched(starmap(sumprod, product(m1, transpose(m2))), n)\n"
18831888
"\n"
1889+
"\n"
18841890
"# ==== Polynomial arithmetic ====\n"
18851891
"\n"
18861892
"def convolve(signal, kernel):\n"
@@ -1937,6 +1943,7 @@ msgid ""
19371943
" powers = reversed(range(1, n))\n"
19381944
" return list(map(mul, coefficients, powers))\n"
19391945
"\n"
1946+
"\n"
19401947
"# ==== Number theory ====\n"
19411948
"\n"
19421949
"def sieve(n):\n"

0 commit comments

Comments
 (0)