Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 859a387

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent a4c26b5 commit 859a387

File tree

1 file changed

+105
-12
lines changed

1 file changed

+105
-12
lines changed

library/collections.po

Lines changed: 105 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Welington Carlos <[email protected]>, 2021
1111
# Alexandre B A Villares, 2021
1212
# Vitor Buxbaum Orlandi, 2021
13-
# Porfirio_Prodigy, 2021
1413
# Rafael Fontenelle <[email protected]>, 2021
14+
# Porfirio_Prodigy, 2022
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2021-08-03 13:12+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
23-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2021\n"
23+
"Last-Translator: Porfirio_Prodigy, 2022\n"
2424
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
2525
"teams/5390/pt_BR/)\n"
2626
"MIME-Version: 1.0\n"
@@ -678,6 +678,9 @@ msgid ""
678678
"To enumerate all distinct multisets of a given size over a given set of "
679679
"elements, see :func:`itertools.combinations_with_replacement`::"
680680
msgstr ""
681+
"Para enumerar todos os multisets distintos de um determinado tamanho em um "
682+
"determinado conjunto de elementos, consulte: func:` itertools."
683+
"combinations_with_replacement` ::"
681684

682685
#: ../../library/collections.rst:443
683686
msgid ":class:`deque` objects"
@@ -689,6 +692,9 @@ msgid ""
689692
"with data from *iterable*. If *iterable* is not specified, the new deque is "
690693
"empty."
691694
msgstr ""
695+
"Retorna um novo objeto deque inicializado da esquerda para a direita "
696+
"(usando: meth: `append`) com dados de * iterável *. Se * iterável * não for "
697+
"especificado, o novo deque estará vazio."
692698

693699
#: ../../library/collections.rst:450
694700
msgid ""
@@ -697,6 +703,11 @@ msgid ""
697703
"safe, memory efficient appends and pops from either side of the deque with "
698704
"approximately the same O(1) performance in either direction."
699705
msgstr ""
706+
"Deques são uma generalização de pilhas e filas (o nome é pronunciado \"deck"
707+
"\" e é abreviação de \"fila dupla\"). O Deques oferece suporte para "
708+
"acréscimos e saliências com segurança de thread e com eficiência de memória "
709+
"de ambos os lados do deque com aproximadamente o mesmo desempenho O (1) em "
710+
"qualquer direção."
700711

701712
#: ../../library/collections.rst:455
702713
msgid ""
@@ -705,6 +716,11 @@ msgid ""
705716
"``pop(0)`` and ``insert(0, v)`` operations which change both the size and "
706717
"position of the underlying data representation."
707718
msgstr ""
719+
"Embora os objetos: class: `list` suportem operações semelhantes, eles são "
720+
"otimizados para operações rápidas de comprimento fixo e sujeitam em custos "
721+
"de movimentação de memória O (n) para` `pop (0)` `e` `insert (0, v)` ` "
722+
"operações que alteram o tamanho e a posição da representação de dados "
723+
"subjacente."
708724

709725
#: ../../library/collections.rst:461
710726
msgid ""
@@ -716,103 +732,132 @@ msgid ""
716732
"They are also useful for tracking transactions and other pools of data where "
717733
"only the most recent activity is of interest."
718734
msgstr ""
735+
"Se * maxlen * não for especificado ou for `` Nenhum``, deques podem crescer "
736+
"para um comprimento arbitrário. Caso contrário, o deque é limitado ao "
737+
"comprimento máximo especificado. Quando um deque de comprimento limitado "
738+
"está cheio, quando novos itens são adicionados, um número correspondente de "
739+
"itens é descartado da extremidade oposta. Deques de comprimento limitado "
740+
"fornecem funcionalidade semelhante ao filtro `` tail`` no Unix. Eles também "
741+
"são úteis para rastrear transações e outros pools de dados onde apenas a "
742+
"atividade mais recente é de interesse."
719743

720744
#: ../../library/collections.rst:470
721745
msgid "Deque objects support the following methods:"
722-
msgstr ""
746+
msgstr "Os objetos Deque suportam os seguintes métodos:"
723747

724748
#: ../../library/collections.rst:474
725749
msgid "Add *x* to the right side of the deque."
726-
msgstr ""
750+
msgstr "Adicione * x * ao lado direito do deque."
727751

728752
#: ../../library/collections.rst:479
729753
msgid "Add *x* to the left side of the deque."
730-
msgstr ""
754+
msgstr "Adicione * x * ao lado esquerdo do deque"
731755

732756
#: ../../library/collections.rst:484
733757
msgid "Remove all elements from the deque leaving it with length 0."
734-
msgstr ""
758+
msgstr "Remova todos os elementos do deque deixando-o com comprimento 0."
735759

736760
#: ../../library/collections.rst:489
737761
msgid "Create a shallow copy of the deque."
738-
msgstr ""
762+
msgstr "Cria uma cópia rasa do deque."
739763

740764
#: ../../library/collections.rst:496
741765
msgid "Count the number of deque elements equal to *x*."
742-
msgstr ""
766+
msgstr "Conta o número de elementos deque igual a * x *."
743767

744768
#: ../../library/collections.rst:503
745769
msgid ""
746770
"Extend the right side of the deque by appending elements from the iterable "
747771
"argument."
748772
msgstr ""
773+
"Estenda o lado direito do deque anexando elementos do argumento iterável."
749774

750775
#: ../../library/collections.rst:509
751776
msgid ""
752777
"Extend the left side of the deque by appending elements from *iterable*. "
753778
"Note, the series of left appends results in reversing the order of elements "
754779
"in the iterable argument."
755780
msgstr ""
781+
"Estenda o lado esquerdo do deque anexando elementos de *iterable*. Observe "
782+
"que a série de acréscimos à esquerda resulta na reversão da ordem dos "
783+
"elementos no argumento iterável."
756784

757785
#: ../../library/collections.rst:516
758786
msgid ""
759787
"Return the position of *x* in the deque (at or after index *start* and "
760788
"before index *stop*). Returns the first match or raises :exc:`ValueError` "
761789
"if not found."
762790
msgstr ""
791+
"Retorne a posição de * x * no deque (no ou após o índice * início * e antes "
792+
"do índice * parada *). Retorna a primeira correspondência ou aumenta: exc: "
793+
"`ValueError` se não for encontrado."
763794

764795
#: ../../library/collections.rst:525
765796
msgid "Insert *x* into the deque at position *i*."
766-
msgstr ""
797+
msgstr "Insira * x * no deque na posição * i *."
767798

768799
#: ../../library/collections.rst:527
769800
msgid ""
770801
"If the insertion would cause a bounded deque to grow beyond *maxlen*, an :"
771802
"exc:`IndexError` is raised."
772803
msgstr ""
804+
"Se a inserção fizer com que um deque limitado cresça além de * maxlen *, um: "
805+
"exc: `IndexError` é gerado."
773806

774807
#: ../../library/collections.rst:535
775808
msgid ""
776809
"Remove and return an element from the right side of the deque. If no "
777810
"elements are present, raises an :exc:`IndexError`."
778811
msgstr ""
812+
"Remova e devolva um elemento do lado direito do deque. Se nenhum elemento "
813+
"estiver presente, levanta um: exc: `IndexError`."
779814

780815
#: ../../library/collections.rst:541
781816
msgid ""
782817
"Remove and return an element from the left side of the deque. If no elements "
783818
"are present, raises an :exc:`IndexError`."
784819
msgstr ""
820+
"Remova e devolva um elemento do lado esquerdo do deque. Se nenhum elemento "
821+
"estiver presente, levanta um: exc: `IndexError`."
785822

786823
#: ../../library/collections.rst:547
787824
msgid ""
788825
"Remove the first occurrence of *value*. If not found, raises a :exc:"
789826
"`ValueError`."
790827
msgstr ""
828+
"Remova a primeira ocorrência de * valor *. Se não for encontrado, levanta "
829+
"um: exc: `ValueError`."
791830

792831
#: ../../library/collections.rst:553
793832
msgid "Reverse the elements of the deque in-place and then return ``None``."
794833
msgstr ""
834+
"Inverta os elementos do deque no local e, em seguida, retorne ``None``."
795835

796836
#: ../../library/collections.rst:560
797837
msgid ""
798838
"Rotate the deque *n* steps to the right. If *n* is negative, rotate to the "
799839
"left."
800840
msgstr ""
841+
"Gire os passos deque * n * para a direita. Se * n * for negativo, gire para "
842+
"a esquerda."
801843

802844
#: ../../library/collections.rst:563
803845
msgid ""
804846
"When the deque is not empty, rotating one step to the right is equivalent to "
805847
"``d.appendleft(d.pop())``, and rotating one step to the left is equivalent "
806848
"to ``d.append(d.popleft())``."
807849
msgstr ""
850+
"Quando o deque não está vazio, girar um passo para a direita é equivalente a "
851+
"``d.appendleft(d.pop())``, e girar um passo para a esquerda é equivalente a "
852+
"``d.append(d.popleft())``."
808853

809854
#: ../../library/collections.rst:568
810855
msgid "Deque objects also provide one read-only attribute:"
811-
msgstr ""
856+
msgstr "Os objetos Deque também fornecem um atributo somente leitura:"
812857

813858
#: ../../library/collections.rst:572
814859
msgid "Maximum size of a deque or ``None`` if unbounded."
815-
msgstr ""
860+
msgstr "Tamanho máximo de um deque ou ``None`` se ilimitado."
816861

817862
#: ../../library/collections.rst:577
818863
msgid ""
@@ -822,12 +867,19 @@ msgid ""
822867
"to access the first element. Indexed access is O(1) at both ends but slows "
823868
"to O(n) in the middle. For fast random access, use lists instead."
824869
msgstr ""
870+
"Além do acima, deques oferece suporte a iteração, decapagem, teste de "
871+
"associação com o operador: keyword: `in` e referências subscritas, como para "
872+
"acessar o primeiro elemento. O acesso indexado é O (1) em ambas as "
873+
"extremidades, mas diminui para O (n) no meio. Para acesso aleatório rápido, "
874+
"use listas."
825875

826876
#: ../../library/collections.rst:583
827877
msgid ""
828878
"Starting in version 3.5, deques support ``__add__()``, ``__mul__()``, and "
829879
"``__imul__()``."
830880
msgstr ""
881+
"A partir da versão 3.5, deques suporta `` __add __ () ``, `` __mul __ () `` "
882+
"e `` __imul __ () ``."
831883

832884
#: ../../library/collections.rst:586
833885
msgid "Example:"
@@ -839,19 +891,23 @@ msgstr "Receitas de :class:`deque`"
839891

840892
#: ../../library/collections.rst:645
841893
msgid "This section shows various approaches to working with deques."
842-
msgstr ""
894+
msgstr "Esta seção mostra várias abordagens para trabalhar com deques."
843895

844896
#: ../../library/collections.rst:647
845897
msgid ""
846898
"Bounded length deques provide functionality similar to the ``tail`` filter "
847899
"in Unix::"
848900
msgstr ""
901+
"Deques de comprimento limitado fornecem funcionalidade semelhante ao filtro "
902+
"``tail`` em Unix ::"
849903

850904
#: ../../library/collections.rst:655
851905
msgid ""
852906
"Another approach to using deques is to maintain a sequence of recently added "
853907
"elements by appending to the right and popping to the left::"
854908
msgstr ""
909+
"Outra abordagem para usar deques é manter uma sequência de elementos "
910+
"adicionados recentemente, acrescentando à direita e clicando à esquerda::"
855911

856912
#: ../../library/collections.rst:670
857913
msgid ""
@@ -862,13 +918,23 @@ msgid ""
862918
"popleft`; otherwise, it can be cycled back to the end with the :meth:`~deque."
863919
"rotate` method::"
864920
msgstr ""
921+
"Um `escalonador round-robin <https://en.wikipedia.org/wiki/Round-"
922+
"robin_scheduling>` _ pode ser implementado com iteradores de entrada "
923+
"armazenados em um: class: `deque`. Os valores são gerados a partir do "
924+
"iterador ativo na posição zero. Se esse iterador estiver esgotado, ele pode "
925+
"ser removido com: meth: `~ deque.popleft`; caso contrário, ele pode voltar "
926+
"ao fim com o método: meth: `~ deque.rotate` ::"
865927

866928
#: ../../library/collections.rst:689
867929
msgid ""
868930
"The :meth:`~deque.rotate` method provides a way to implement :class:`deque` "
869931
"slicing and deletion. For example, a pure Python implementation of ``del "
870932
"d[n]`` relies on the ``rotate()`` method to position elements to be popped::"
871933
msgstr ""
934+
"O método: meth: `~ deque.rotate` fornece uma maneira de implementar o corte "
935+
"e exclusão: class:` deque`. Por exemplo, uma implementação Python pura de "
936+
"``del d[n]`` depende do método ``rotate()`` para posicionar os elementos a "
937+
"serem popped ::"
872938

873939
#: ../../library/collections.rst:698
874940
msgid ""
@@ -879,6 +945,13 @@ msgid ""
879945
"that approach, it is easy to implement Forth style stack manipulations such "
880946
"as ``dup``, ``drop``, ``swap``, ``over``, ``pick``, ``rot``, and ``roll``."
881947
msgstr ""
948+
"Para implementar o corte: class: `deque`, use uma abordagem semelhante "
949+
"aplicando: meth:` ~ deque.rotate` para trazer um elemento alvo para o lado "
950+
"esquerdo do deque. Remova as entradas antigas com: meth: `~ deque.popleft`, "
951+
"adicione novas entradas com: meth:` ~ deque.extend`, e então inverta a "
952+
"rotação. Com pequenas variações dessa abordagem, é fácil implementar "
953+
"manipulações de pilha de estilo Forth, como ``dup``,``drop``,``swap``,"
954+
"``over``,``pick``,``rot``, and ``roll``."
882955

883956
#: ../../library/collections.rst:708
884957
msgid ":class:`defaultdict` objects"
@@ -891,6 +964,10 @@ msgid ""
891964
"writable instance variable. The remaining functionality is the same as for "
892965
"the :class:`dict` class and is not documented here."
893966
msgstr ""
967+
"Retorne um novo objeto semelhante a um dicionário. : class: `defaultdict` é "
968+
"uma subclasse da classe interna: class:` dict`. Ele substitui um método e "
969+
"adiciona uma variável de instância gravável. A funcionalidade restante é a "
970+
"mesma da classe: class: `dict` e não está documentada aqui."
894971

895972
#: ../../library/collections.rst:717
896973
msgid ""
@@ -899,38 +976,54 @@ msgid ""
899976
"arguments are treated the same as if they were passed to the :class:`dict` "
900977
"constructor, including keyword arguments."
901978
msgstr ""
979+
"O primeiro argumento fornece o valor inicial para o atributo: attr: "
980+
"`default_factory`; o padrão é `` Nenhum``. Todos os argumentos restantes são "
981+
"tratados da mesma forma como se fossem passados ​​para o construtor: class: "
982+
"`dict`, incluindo argumentos de palavra-chave."
902983

903984
#: ../../library/collections.rst:723
904985
msgid ""
905986
":class:`defaultdict` objects support the following method in addition to the "
906987
"standard :class:`dict` operations:"
907988
msgstr ""
989+
"Os objetos: class: `defaultdict` suportam o seguinte método além das "
990+
"operações padrão: class:` dict`:"
908991

909992
#: ../../library/collections.rst:728
910993
msgid ""
911994
"If the :attr:`default_factory` attribute is ``None``, this raises a :exc:"
912995
"`KeyError` exception with the *key* as argument."
913996
msgstr ""
997+
"Se o atributo: attr: `default_factory` é ``None``, isso levanta uma exceção: "
998+
"exc:` KeyError` com a * chave * como argumento."
914999

9151000
#: ../../library/collections.rst:731
9161001
msgid ""
9171002
"If :attr:`default_factory` is not ``None``, it is called without arguments "
9181003
"to provide a default value for the given *key*, this value is inserted in "
9191004
"the dictionary for the *key*, and returned."
9201005
msgstr ""
1006+
"Se: attr: `default_factory` não for ``None``, ele é chamado sem argumentos "
1007+
"para fornecer um valor padrão para a * chave * fornecida, este valor é "
1008+
"inserido no dicionário para a * chave * e retornado."
9211009

9221010
#: ../../library/collections.rst:735
9231011
msgid ""
9241012
"If calling :attr:`default_factory` raises an exception this exception is "
9251013
"propagated unchanged."
9261014
msgstr ""
1015+
"Se chamar: attr: `default_factory` levanta uma exceção, esta exceção é "
1016+
"propagada inalterada."
9271017

9281018
#: ../../library/collections.rst:738
9291019
msgid ""
9301020
"This method is called by the :meth:`__getitem__` method of the :class:`dict` "
9311021
"class when the requested key is not found; whatever it returns or raises is "
9321022
"then returned or raised by :meth:`__getitem__`."
9331023
msgstr ""
1024+
"Este método é chamado pelo método: meth: `__getitem__` da classe: class:` "
1025+
"dict` quando a chave solicitada não é encontrada; tudo o que ele retorna ou "
1026+
"aumenta é então retornado ou gerado por: meth: `__getitem__`."
9341027

9351028
#: ../../library/collections.rst:742
9361029
msgid ""

0 commit comments

Comments
 (0)