8000 pomerge from 3.10 branch into 3.8 · python/python-docs-pt-br@0346f1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0346f1b

Browse files
pomerge from 3.10 branch into 3.8
1 parent 430454d commit 0346f1b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

library/collections.po

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ msgid ""
316316
"A `greatly simplified read-only version of Chainmap "
317317
"<https://code.activestate.com/recipes/305268/>`_."
318318
msgstr ""
319+
"Uma versão muito simplificada somente leitura do "
320+
"Chainmap.<https://code.activestate.com/recipes/305268/>`_."
319321

320322
#: ../../library/collections.rst:144
321323
msgid ":class:`ChainMap` Examples and Recipes"
@@ -511,6 +513,13 @@ msgid ""
511513
" signed counts, but the output will exclude results with counts of zero or "
512514
"less."
513515
msgstr ""
516+
"Várias operações matemáticas são fornecidas para combinar: class: objetos "
517+
"`Counter` para produzir multisets (counters que têm contagens maiores que "
518+
"zero). A adição e a subtração combinam counters adicionando ou subtraindo as"
519+
" contagens dos elementos correspondentes. A intersecção e a união retornam o"
520+
" mínimo e o máximo das contagens correspondentes. Cada operação pode aceitar"
521+
" entradas com contagens assinadas, mas a saída excluirá resultados com "
522+
"contagens de zero ou menos."
514523

515524
#: ../../library/collections.rst:358
516525
msgid ""
@@ -524,6 +533,8 @@ msgstr ""
524533
msgid ""
525534
"Added support for unary plus, unary minus, and in-place multiset operations."
526535
msgstr ""
536+
"Adicionado suporte para operador unário mais, unário menos e operação in-"
537+
"place multiset."
527538

528539
#: ../../library/collections.rst:372
529540
msgid ""
@@ -565,6 +576,12 @@ msgid ""
565576
":meth:`~Counter.update` and :meth:`~Counter.subtract` which allow negative "
566577
"and zero values for both inputs and outputs."
567578
msgstr ""
579+
"Para operações in-place, como ``c[key] += 1``, o tipo de valor precisa "
580+
"suportar apenas adição e subtração. Portanto, frações, números de ponto "
581+
"flutuante e decimais funcionariam e os valores negativos são suportados. O "
582+
"mesmo também é verdadeiro para: meth: `~ Counter.update` e: meth:` ~ "
583+
"Counter.subtract` que permitem valores negativos e zero para entradas e "
584+
"saídas."
568585

569586
#: ../../library/collections.rst:389
570587
msgid ""
@@ -585,6 +602,8 @@ msgid ""
585602
"`Bag class <https://www.gnu.org/software/smalltalk/manual-"
586603
"base/html_node/Bag.html>`_ in Smalltalk."
587604
msgstr ""
605+
"Classe Bag <https://www.gnu.org/software/smalltalk/manual-"
606+
"base/html_node/Bag.html> `_ em Smalltalk."
588607

589608
#: ../../library/collections.rst:402
590609
msgid ""

0 commit comments

Comments
 (0)
0