@@ -5955,6 +5955,8 @@ msgid ""
59555955"Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is "
59565956"not in the map."
59575957msgstr ""
5958+ "Retorna o item de *d* com a chave *key*. Levanta um :exc:`KeyError` se *key* "
5959+ "não estiver no mapeamento."
59585960
59595961#: ../../library/stdtypes.rst:4161
59605962msgid ""
@@ -6009,6 +6011,8 @@ msgid ""
60096011"Return an iterator over the keys of the dictionary. This is a shortcut for "
60106012"``iter(d.keys())``."
60116013msgstr ""
6014+ "Retorna um iterador para as chaves do dicionário. Isso é um atalho para "
6015+ "``iter(d.keys())``."
60126016
60136017#: ../../library/stdtypes.rst:4207
60146018msgid "Remove all items from the dictionary."
@@ -6022,6 +6026,8 @@ msgstr "Retorna uma cópia superficial do dicionário."
60226026msgid ""
60236027"Create a new dictionary with keys from *iterable* and values set to *value*."
60246028msgstr ""
6029+ "Cria um novo dicionário com chaves provenientes de *iterable* e valores "
6030+ "definidos como *value*."
60256031
60266032#: ../../library/stdtypes.rst:4217
60276033msgid ""
@@ -6044,50 +6050,69 @@ msgid ""
60446050"Return a new view of the dictionary's items (``(key, value)`` pairs). See "
60456051"the :ref:`documentation of view objects <dict-views>`."
60466052msgstr ""
6053+ "Retorna uma nova visão dos items do dicionário (pares de ``(key, value)``). "
6054+ "Veja a :ref:`documentação de objetos de visão de dicionário <dict-views>`."
60476055
60486056#: ../../library/stdtypes.rst:4233
60496057msgid ""
60506058"Return a new view of the dictionary's keys. See the :ref:`documentation of "
60516059"view objects <dict-views>`."
60526060msgstr ""
6061+ "Retorna uma nova visão das chaves do dicionário. Veja a :ref:`documentação "
6062+ "de objetos de visão de dicionário <dict-views>`."
60536063
60546064#: ../../library/stdtypes.rst:4238
60556065msgid ""
60566066"If *key* is in the dictionary, remove it and return its value, else return "
60576067"*default*. If *default* is not given and *key* is not in the dictionary, a :"
60586068"exc:`KeyError` is raised."
60596069msgstr ""
6070+ "Se *key* está no dicionário, remove a mesma e retorna o seu valor, caso "
6071+ "contrário retorna *default*. Se *default* não foi fornecido e *key* não está "
6072+ "no dicionário, um :exc:`KeyError` é levantado."
60606073
60616074#: ../../library/stdtypes.rst:4244
60626075msgid ""
60636076"Remove and return a ``(key, value)`` pair from the dictionary. Pairs are "
60646077"returned in :abbr:`LIFO (last-in, first-out)` order."
60656078msgstr ""
6079+ "Remove e retorna um par ``(key, value)`` do dicionário. Pares são retornados "
6080+ "como uma pilha, ou seja em ordem :abbr:`LIFO (last-in, first-out)`."
60666081
60676082#: ../../library/stdtypes.rst:4247
60686083msgid ""
60696084":meth:`popitem` is useful to destructively iterate over a dictionary, as "
60706085"often used in set algorithms. If the dictionary is empty, calling :meth:"
60716086"`popitem` raises a :exc:`KeyError`."
60726087msgstr ""
6088+ ":meth:`popitem` é útil para destrutivamente iterar sobre um dicionário, algo "
6089+ "comumente usado em algoritmos de set. Se o dicionário estiver vazio, chamar :"
6090+ "meth:`popitem` levanta um :exc:`KeyError`."
60736091
60746092#: ../../library/stdtypes.rst:4251
60756093msgid ""
60766094"LIFO order is now guaranteed. In prior versions, :meth:`popitem` would "
60776095"return an arbitrary key/value pair."
60786096msgstr ""
6097+ "Ordem LIFO agora é garantida. Em versões anteriores, :meth:`popitem` iria "
6098+ "retornar um par chave/valor arbitrário."
60796099
60806100#: ../../library/stdtypes.rst:4257
60816101msgid ""
60826102"If *key* is in the dictionary, return its value. If not, insert *key* with "
60836103"a value of *default* and return *default*. *default* defaults to ``None``."
60846104msgstr ""
6105+ "Se *key* está no dicionário, retorna o seu valor. Se não, insere *key* com o "
6106+ "valor *default* e retorna *default*. *default* por padrão usa o valor "
6107+ "``None``."
60856108
60866109#: ../../library/stdtypes.rst:4263
60876110msgid ""
60886111"Update the dictionary with the key/value pairs from *other*, overwriting "
60896112"existing keys. Return ``None``."
60906113msgstr ""
6114+ "Atualiza o dicionário com os pares chave/valor existente em *other*, "
6115+ "sobrescrevendo chaves existentes. Retorna ``None``."
60916116
60926117#: ../../library/stdtypes.rst:4266
60936118msgid ""
@@ -6106,13 +6131,18 @@ msgid ""
61066131"Return a new view of the dictionary's values. See the :ref:`documentation "
61076132"of view objects <dict-views>`."
61086133msgstr ""
6134+ "Retorna uma nova visão dos valores do dicionário. Veja a :ref:`documentação "
6135+ "de objetos de visão de dicionário <dict-views>`."
61096136
61106137#: ../../library/stdtypes.rst:4276
61116138msgid ""
61126139"An equality comparison between one ``dict.values()`` view and another will "
61136140"always return ``False``. This also applies when comparing ``dict.values()`` "
61146141"to itself::"
61156142msgstr ""
6143+ "Uma comparação de igualdade entre uma visão de ``dict.values()`` e outra, "
6144+ "sempre irá retornar ``False``. Isso também se aplica ao comparar ``dict."
6145+ "values()`` entre si::"
61166146
61176147#: ../../library/stdtypes.rst:4284
61186148msgid ""
@@ -6129,18 +6159,25 @@ msgid ""
61296159"Dictionaries preserve insertion order. Note that updating a key does not "
61306160"affect the order. Keys added after deletion are inserted at the end. ::"
61316161msgstr ""
6162+ "Dicionários preservam a ordem de inserção. Perceba que atualizar a chave não "
6163+ "afeta a ordem. Chaves adicionadas após a deleção são inseridas no final. ::"
61326164
61336165#: ../../library/stdtypes.rst:4306
61346166msgid ""
61356167"Dictionary order is guaranteed to be insertion order. This behavior was an "
61366168"implementation detail of CPython from 3.6."
61376169msgstr ""
6170+ "Ordem do dicionário é garantida conforme a ordem de inserção. Este "
6171+ "comportamento era um detalhe de implementação do CPython a partir da versão "
6172+ "3.6."
61386173
61396174#: ../../library/stdtypes.rst:4311
61406175msgid ""
61416176":class:`types.MappingProxyType` can be used to create a read-only view of a :"
61426177"class:`dict`."
61436178msgstr ""
6179+ ":class:`types.MappingProxyType` podem ser usados para criar uma visão "
6180+ "somente-leitura de um :class:`dict`."
61446181
61456182#: ../../library/stdtypes.rst:4318
61466183msgid "Dictionary view objects"
@@ -6163,16 +6200,20 @@ msgid ""
61636200"Dictionary views can be iterated over to yield their respective data, and "
61646201"support membership tests:"
61656202msgstr ""
6203+ "Visões de dicionários podem ser iteradas para apresentar seus respectivos "
6204+ "dados, e suportar testes de existência:"
61666205
61676206#: ../../library/stdtypes.rst:4330
61686207msgid "Return the number of entries in the dictionary."
6169- msgstr ""
6208+ msgstr "Retorna o número de entradas no dicionário. "
61706209
61716210#: ../../library/stdtypes.rst:4334
61726211msgid ""
61736212"Return an iterator over the keys, values or items (represented as tuples of "
61746213"``(key, value)``) in the dictionary."
61756214msgstr ""
6215+ "Retorna um iterador sobre as chaves, valores ou items (representados como "
6216+ "tuplas de ``(key, value)``) no dicionário."
61766217
61776218#: ../../library/stdtypes.rst:4337
61786219msgid ""
@@ -6191,16 +6232,20 @@ msgid ""
61916232"Iterating views while adding or deleting entries in the dictionary may raise "
61926233"a :exc:`RuntimeError` or fail to iterate over all entries."
61936234msgstr ""
6235+ "Iterar sobre visões enquanto adiciona ou deleta entradas no dicionário pode "
6236+ "levantar um :exc:`RuntimeError` ou falhar a iteração sobre todas as entradas."
61946237
61956238#: ../../library/stdtypes.rst:4345
61966239msgid "Dictionary order is guaranteed to be insertion order."
6197- msgstr ""
6240+ msgstr "Ordem do dicionário é garantida como a ordem de inserção. "
61986241
61996242#: ../../library/stdtypes.rst:4350
62006243msgid ""
62016244"Return ``True`` if *x* is in the underlying dictionary's keys, values or "
62026245"items (in the latter case, *x* should be a ``(key, value)`` tuple)."
62036246msgstr ""
6247+ "Retorna ``True`` se *x* está nas chaves, valores ou items do dicionário "
6248+ "subjacente (no último caso, *x* deve ser uma tupla de ``(key, value)``)."
62046249
62056250#: ../../library/stdtypes.rst:4354
62066251msgid ""
@@ -6554,6 +6599,8 @@ msgid ""
65546599"A code object can be executed or evaluated by passing it (instead of a "
65556600"source string) to the :func:`exec` or :func:`eval` built-in functions."
65566601msgstr ""
6602+ "Um objeto de código pode ser executado ou avaliado passando-o (ao invés da "
6603+ "string fonte) para as funções embutidas :func:`exec` ou :func:`eval`."
65576604
65586605#: ../../library/stdtypes.rst:4600
65596606msgid "Type Objects"
@@ -6573,7 +6620,7 @@ msgstr ""
65736620
65746621#: ../../library/stdtypes.rst:4611
65756622msgid "Types are written like this: ``<class 'int'>``."
6576- msgstr ""
6623+ msgstr "Tipos são escritos como isto: ``<class 'int'>``. "
65776624
65786625#: ../../library/stdtypes.rst:4617
65796626msgid "The Null Object"
@@ -6592,7 +6639,7 @@ msgstr ""
65926639
65936640#: ../../library/stdtypes.rst:4623
65946641msgid "It is written as ``None``."
6595- msgstr ""
6642+ msgstr "Ele é escrito como ``None``. "
65966643
65976644#: ../../library/stdtypes.rst:4630
65986645msgid "The Ellipsis Object"
0 commit comments