@@ -25,7 +25,7 @@ msgid ""
2525msgstr ""
2626"Project-Id-Version : Python 3.12\n "
2727"Report-Msgid-Bugs-To : \n "
28- "POT-Creation-Date : 2023-07-29 02:08 +0000\n "
28+ "POT-Creation-Date : 2023-08-04 14:13 +0000\n "
2929"PO-Revision-Date : 2021-06-28 01:06+0000\n "
3030"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
3131"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -501,6 +501,10 @@ msgid ""
501501"object, it has to define an :meth:`~object.__index__` method that returns an "
502502"integer. Some examples:"
503503msgstr ""
504+ "Converte um número inteiro para uma string de binários prefixada com \" 0b\" . "
505+ "O resultado é uma expressão Python válida. Se *x* não é um objeto Python :"
506+ "class:`int`, ele tem que definir um método :meth:`~object.__index__` que "
507+ "devolve um inteiro. Alguns exemplos:"
504508
505509#: ../../library/functions.rst:133
506510msgid ""
@@ -524,6 +528,12 @@ msgid ""
524528"It cannot be subclassed further. Its only instances are ``False`` and "
525529"``True`` (see :ref:`typebool`)."
526530msgstr ""
531+ "Retorna um valor Booleano, isto é, ``True`` ou ``False``. *x* é convertida "
532+ "usando o :ref:`procedimento de teste de verdade <truth>` padrão. Se *x* é "
533+ "falso ou foi omitido, isso retorna ``False``; senão ``True``. A classe :"
534+ "class:`bool` é uma subclasse de :class:`int` (veja :ref:`typesnumeric`). Ela "
535+ "não pode ser usada para criar outra subclasse. Suas únicas instâncias são "
536+ "``False`` e ``True`` (veja :ref:`typebool`)."
527537
528538#: ../../library/functions.rst:154 ../../library/functions.rst:707
529539#: ../../library/functions.rst:931
@@ -559,12 +569,17 @@ msgid ""
559569"envvar:`PYTHONBREAKPOINT` environment variable. See :func:`sys."
560570"breakpointhook` for usage details."
561571msgstr ""
572+ "Por padrão, o comportamento de :func:`breakpoint` pode ser alterado com a "
573+ "variável de ambiente :envvar:`PYTHONBREAKPOINT`. Veja :func:`sys."
574+ "breakpointhook` para detalhes de uso."
562575
563576#: ../../library/functions.rst:175
564577msgid ""
565578"Note that this is not guaranteed if :func:`sys.breakpointhook` has been "
566579"replaced."
567580msgstr ""
581+ "Observe que isso não é garantido se :func:`sys.breakpointhook` tiver sido "
582+ "substituído."
568583
569584#: ../../library/functions.rst:178
570585msgid ""
@@ -979,6 +994,11 @@ msgid ""
979994"falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
980995"defined then it falls back to :meth:`~object.__index__`."
981996msgstr ""
997+ "Para um objeto Python ``x`` qualquer, ``complex(x)`` delega para ``x."
998+ "__complex__()``. Se :meth:`~object.__complex__` não está definido então a "
999+ "chamada é repassada para :meth:`~object.__float__`. Se :meth:`!__float__` "
1000+ "não está definido então a chamada é, novamente, repassada para :meth:"
1001+ "`~object.__index__`."
9821002
9831003#: ../../library/functions.rst:392
9841004msgid ""
@@ -1006,6 +1026,8 @@ msgid ""
10061026"Falls back to :meth:`~object.__index__` if :meth:`~object.__complex__` and :"
10071027"meth:`~object.__float__` are not defined."
10081028msgstr ""
1029+ "Chamadas para :meth:`~object.__index__` se :meth:`~object.__complex__` e :"
1030+ "meth:`~object.__float__` não estão definidas."
10091031
10101032#: ../../library/functions.rst:409
10111033msgid ""
@@ -1459,6 +1481,9 @@ msgid ""
14591481"__float__()``. If :meth:`~object.__float__` is not defined then it falls "
14601482"back to :meth:`~object.__index__`."
14611483msgstr ""
1484+ "Para um objeto Python genérico ``x``, ``float(x)`` delega para o método ``x."
1485+ "__float__()``. Se :meth:`~object.__float__` não estiver definido, então ele "
1486+ "delega para o método :meth:`~object.__index__`."
14621487
14631488#: ../../library/functions.rst:687
14641489msgid "If no argument is given, ``0.0`` is returned."
@@ -1477,6 +1502,8 @@ msgid ""
14771502"Falls back to :meth:`~object.__index__` if :meth:`~object.__float__` is not "
14781503"defined."
14791504msgstr ""
1505+ "Chamada para :meth:`~object.__index__` se :meth:`~object.__float__` não está "
1506+ "definido."
14801507
14811508#: ../../library/functions.rst:720
14821509msgid ""
@@ -1610,6 +1637,10 @@ msgid ""
16101637"truncates the return value based on the bit width of the host machine. See :"
16111638"meth:`__hash__ <object.__hash__>` for details."
16121639msgstr ""
1640+ "Para objetos com métodos :meth:`__hash__` personalizados, fique atento que :"
1641+ "func:`hash` trunca o valor devolvido baseado no comprimento de bits da "
1642+ "máquina hospedeira. Veja :meth:`__hash__ <object.__hash__>` para mais "
1643+ "detalhes."
16131644
16141645#: ../../library/functions.rst:802
16151646msgid ""
@@ -1660,6 +1691,10 @@ msgid ""
16601691"\" 0x\" . If *x* is not a Python :class:`int` object, it has to define an :"
16611692"meth:`~object.__index__` method that returns an integer. Some examples:"
16621693msgstr ""
1694+ "Converte um número inteiro para uma string hexadecimal em letras minúsculas "
1695+ "pré-fixada com \" 0x\" . Se *x* não é um objeto :class:`int` do Python, ele "
1696+ "tem que definir um método :meth:`~object.__index__` que retorne um inteiro. "
1697+ "Alguns exemplos:"
16631698
16641699#: ../../library/functions.rst:832
16651700msgid ""
@@ -1773,6 +1808,13 @@ msgid ""
17731808"__trunc__`, it returns ``x.__trunc__()``. For floating point numbers, this "
17741809"truncates towards zero."
17751810msgstr ""
1811+ "Devolve um objeto inteiro construído a partir de um número ou string *x*, ou "
1812+ "devolve ``0`` se nenhum argumento foi fornecido. Se *x* definir um método :"
1813+ "meth:`~object.__int__`, então ``int(x)`` retorna ``x.__int__()``. Se *x* "
1814+ "definir um método :meth:`~object.__index__`, então ele retorna ``x."
1815+ "__index__()``. Se *x* definir um método :meth:`~object.__trunc__`, então ele "
1816+ "retorna ``x.__trunc__()``. Para números de ponto flutuante, isto trunca o "
1817+ "número na direção do zero."
17761818
17771819#: ../../library/functions.rst:902
17781820msgid ""
@@ -1835,10 +1877,12 @@ msgid ""
18351877"Falls back to :meth:`~object.__index__` if :meth:`~object.__int__` is not "
18361878"defined."
18371879msgstr ""
1880+ "Chamada para :meth:`~object.__index__` se :meth:`~object.__int__` não está "
1881+ "definido."
18381882
18391883#: ../../library/functions.rst:937
18401884msgid "The delegation to :meth:`~object.__trunc__` is deprecated."
1841- msgstr ""
1885+ msgstr "A delegação de :meth:`~object.__trunc__` foi descontinuada. "
18421886
18431887#: ../../library/functions.rst:940
18441888msgid ""
@@ -2130,6 +2174,10 @@ msgid ""
21302174"object, it has to define an :meth:`~object.__index__` method that returns an "
21312175"integer. For example:"
21322176msgstr ""
2177+ "Converte um número inteiro para uma string em base octal, pré-fixada com "
2178+ "\" 0o\" . O resultado é uma expressão Python válida. Se *x* não for um objeto :"
2179+ "class:`int` Python, ele tem que definir um método :meth:`~object.__index__` "
2180+ "que devolve um inteiro. Por exemplo:"
21332181
21342182#: ../../library/functions.rst:1149
21352183msgid ""
@@ -2323,6 +2371,11 @@ msgid ""
23232371"size\" and falling back on :const:`io.DEFAULT_BUFFER_SIZE`. On many "
23242372"systems, the buffer will typically be 4096 or 8192 bytes long."
23252373msgstr ""
2374+ "Arquivos binários são armazenados em pedaços de tamanho fixo; o tamanho do "
2375+ "buffer é escolhido usando uma heurística que tenta determinar o \" tamanho de "
2376+ "bloco\" subjacente do dispositivo, e usa :const:`io.DEFAULT_BUFFER_SIZE` "
2377+ "caso não consiga. Em muitos sistemas, o buffer possuirá tipicamente 4096 ou "
2378+ "8192 bytes de comprimento."
23262379
23272380#: ../../library/functions.rst:1237
23282381msgid ""
@@ -3012,6 +3065,8 @@ msgid ""
30123065"Slice objects are now :term:`hashable` (provided :attr:`~slice.start`, :attr:"
30133066"`~slice.stop`, and :attr:`~slice.step` are hashable)."
30143067msgstr ""
3068+ "Os objetos slice agora são :term:`hasheáveis <hasheável>` (desde que :attr:"
3069+ "`~slice.start`, :attr:`~slice.stop` e :attr:`~slice.step` sejam hasheáveis)."
30153070
30163071#: ../../library/functions.rst:1652
30173072msgid "Return a new sorted list from the items in *iterable*."
@@ -3206,6 +3261,8 @@ msgid ""
32063261"Summation of floats switched to an algorithm that gives higher accuracy on "
32073262"most builds."
32083263msgstr ""
3264+ "A soma dos pontos flutuantes foi alterada para um algoritmo que oferece "
3265+ "maior precisão na maioria das compilações."
32093266
32103267#: ../../library/functions.rst:1761
32113268msgid ""
@@ -3814,27 +3871,27 @@ msgstr "novas linhas universais"
38143871
38153872#: ../../library/functions.rst:1343
38163873msgid "line-buffered I/O"
3817- msgstr ""
3874+ msgstr "E/S com buffer de linha "
38183875
38193876#: ../../library/functions.rst:1343
38203877msgid "unbuffered I/O"
3821- msgstr ""
3878+ msgstr "E/S sem buffer "
38223879
38233880#: ../../library/functions.rst:1343
38243881msgid "buffer size, I/O"
3825- msgstr ""
3882+ msgstr "buffer, tamanho, E/S "
38263883
38273884#: ../../library/functions.rst:1343
38283885msgid "I/O control"
38293886msgstr "controle de E/S"
38303887
38313888#: ../../library/functions.rst:1343
38323889msgid "buffering"
3833- msgstr ""
3890+ msgstr "buffering "
38343891
38353892#: ../../library/functions.rst:1343
38363893msgid "text mode"
3837- msgstr ""
3894+ msgstr "texto, modo "
38383895
38393896#: ../../library/functions.rst:1343 ../../library/functions.rst:1995
38403897msgid "module"
@@ -3846,7 +3903,7 @@ msgstr "sys"
38463903
38473904#: ../../library/functions.rst:1725
38483905msgid "str() (built-in function)"
3849- msgstr ""
3906+ msgstr "str() (função embutida) "
38503907
38513908#: ../../library/functions.rst:1840
38523909msgid "object"
@@ -3858,7 +3915,7 @@ msgstr "instrução"
38583915
38593916#: ../../library/functions.rst:1995
38603917msgid "import"
3861- msgstr ""
3918+ msgstr "importação "
38623919
38633920#: ../../library/functions.rst:1995
38643921msgid "builtins"
0 commit comments