33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6- # Translators:
7- # python-doc bot, 2025
8- #
96#, fuzzy
107msgid ""
118msgstr ""
129"Project-Id-Version :Python 3.10\n "
1310"Report-Msgid-Bugs-To :\n "
14- "POT-Creation-Date :2025-09-13 16:59 +0000\n "
11+ "POT-Creation-Date :2025-09-15 17:10 +0000\n "
1512"PO-Revision-Date :2025-09-12 23:37+0000\n "
16- "Last-Translator :python-doc bot, 2025\n "
1713"Language-Team :Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
1814"teams/5390/pt_BR/)\n "
1915"Language :pt_BR\n "
@@ -236,7 +232,7 @@ msgstr ""
236232
237233#: ../../howto/sorting.rst:190
238234msgid "The Old Way Using Decorate-Sort-Undecorate"
239- msgstr "A velha maneira utilizando Decorate-Sort-Undecorate "
235+ msgstr ""
240236
241237#: ../../howto/sorting.rst:192
242238msgid "This idiom is called Decorate-Sort-Undecorate after its three steps:"
@@ -329,7 +325,7 @@ msgstr ""
329325
330326#: ../../howto/sorting.rst:231
331327msgid "The Old Way Using the *cmp* Parameter"
332- msgstr "O método antigo utilizando o parâmetro *cmp* "
328+ msgstr ""
333329
334330#: ../../howto/sorting.rst:233
335331msgid ""
@@ -338,21 +334,13 @@ msgid ""
338334"arguments. Instead, all of the Py2.x versions supported a *cmp* parameter to "
339335"handle user specified comparison functions."
340336msgstr ""
341- "Muitos construtores apresentados neste HOWTO assumem o uso do Python 2.4 ou "
342- "superior. Antes disso, não havia a função embutida :func:`sorted` e o "
343- "método :meth:`list.sort` não recebia os argumentos nomeados. Apesar disso, "
344- "todas as versões do Py2.x suportam o parâmetro *cmp* para lidar com a função "
345- "de comparação especificada pelo usuário."
346337
347338#: ../../howto/sorting.rst:238
348339msgid ""
349340"In Py3.0, the *cmp* parameter was removed entirely (as part of a larger "
350341"effort to simplify and unify the language, eliminating the conflict between "
351342"rich comparisons and the :meth:`__cmp__` magic method)."
352343msgstr ""
353- "No Py3.0, o parâmetro *cmp* foi removido totalmente (como parte de um grande "
354- "esforço para simplificar e unificar a linguagem, eliminando o conflito entre "
355- "comparações enriquecidas e o método mágico :meth:`__cmp__`)"
356344
357345#: ../../howto/sorting.rst:242
358346msgid ""
@@ -361,51 +349,37 @@ msgid ""
361349"then return a negative value for less-than, return zero if they are equal, "
362350"or return a positive value for greater-than. For example, we can do:"
363351msgstr ""
364- "No Py2.x, ordenação permite uma função opcional que pode ser invocada para "
365- "fazer comparações. Esta função pode receber dois argumentos para serem "
366- "comparados e retorna um valor negativo para o menor-que, retorna zero se "
367- "eles são iguais, ou retorna um valor positivo para o maior-que. Por exemplo, "
368- "podemos fazer:"
369352
370353#: ../../howto/sorting.rst:254
371354msgid "Or you can reverse the order of comparison with:"
372- msgstr "Ou podemos inverter a ordem de comparação com: "
355+ msgstr ""
373356
374357#: ../../howto/sorting.rst:263
375358msgid ""
376359"When porting code from Python 2.x to 3.x, the situation can arise when you "
377360"have the user supplying a comparison function and you need to convert that "
378361"to a key function. The following wrapper makes that easy to do:"
379362msgstr ""
380- "Ao migrar código Python 2.x para 3.x, pode surgir a situação em que foi "
381- "fornecida uma função de comparação e é necessário convertê-la para uma "
382- "função chave. Eis uma forma de facilitar isso:"
383363
384364#: ../../howto/sorting.rst:294
385365msgid "To convert to a key function, just wrap the old comparison function:"
386366msgstr ""
387- "Para converter a função chave, apenas empacote a velha função de comparação:"
388367
389368#: ../../howto/sorting.rst:305
390369msgid ""
391370"In Python 3.2, the :func:`functools.cmp_to_key` function was added to the :"
392371"mod:`functools` module in the standard library."
393372msgstr ""
394- "No Python 3.2, a função :func:`functools.cmp_to_key` foi adicionada ao "
395- "módulo :mod:`functools` na biblioteca padrão."
396373
397374#: ../../howto/sorting.rst:309
398375msgid "Odd and Ends"
399- msgstr "Ímpares e extremidades "
376+ msgstr ""
400377
401378#: ../../howto/sorting.rst:311
402379msgid ""
403380"For locale aware sorting, use :func:`locale.strxfrm` for a key function or :"
404381"func:`locale.strcoll` for a comparison function."
405382msgstr ""
406- "Para ordenação com reconhecimento de localidade, use :func:`locale.strxfrm` "
407- "para uma função chave ou :func:`locale.strcoll` para uma função de "
408- "comparação."
409383
410384#: ../../howto/sorting.rst:314
411385msgid ""
@@ -425,17 +399,12 @@ msgid ""
425399"it is easy to add a standard sort order to a class by defining an :meth:"
426400"`__lt__` method:"
427401msgstr ""
428- "As rotinas de classificação usam ``<`` ao fazer comparações entre dois "
429- "objetos. Portanto, é fácil adicionar uma ordem de classificação padrão a uma "
430- "classe definindo um método :meth:`__lt__`:"
431402
432403#: ../../howto/sorting.rst:338
433404msgid ""
434405"However, note that ``<`` can fall back to using :meth:`__gt__` if :meth:"
435406"`__lt__` is not implemented (see :func:`object.__lt__`)."
436407msgstr ""
437- "No entanto, note que pode voltar a usar :meth:`__gt__` se :meth:`__lt__` não "
438- "estiver implementado (veja :func:`object.__lt__`)."
439408
440409#: ../../howto/sorting.rst:341
441410msgid ""