55#
66# Translators:
77# felipe caridade <caridade500@gmail.com>, 2021
8- # Rafael Fontenelle <rffontenelle@gmail.com>, 2021
98# Marco Rougeth <marco@rougeth.com>, 2021
109# Welington Carlos <wcarlos3@gmail.com>, 2021
11- # Ricardo Cappellano <rcappellano@gmail.com>, 2021
12- # mvpetri <mvpetri@gmail.com>, 2021
1310# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2021
1411# Adorilson Bezerra <adorilson@gmail.com>, 2021
1512# Alexandre B A Villares, 2021
1613# Vinicius Gubiani Ferreira <vini.g.fer@gmail.com>, 2021
1714# yyyyyyyan <contact@yyyyyyyan.tech>, 2021
15+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2021
1816#
1917#, fuzzy
2018msgid ""
@@ -23,7 +21,7 @@ msgstr ""
2321"Report-Msgid-Bugs-To : \n "
2422"POT-Creation-Date : 2021-06-29 12:56+0000\n "
2523"PO-Revision-Date : 2021-06-28 00:47+0000\n "
26- "Last-Translator : yyyyyyyan <contact@yyyyyyyan.tech >, 2021\n "
24+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com >, 2021\n "
2725"Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
2826"teams/5390/pt_BR/)\n "
2927"MIME-Version : 1.0\n "
@@ -156,6 +154,9 @@ msgid ""
156154"and :pep:`526`, which describe this functionality. Also see :ref:"
157155"`annotations-howto` for best practices on working with annotations."
158156msgstr ""
157+ "Veja :term:`anotação de variável`, :term:`anotação de função`, :pep:`484` e :"
158+ "pep:`526`, que descrevem esta funcionalidade. Veja também :ref:`annotations-"
159+ "howto` para as melhores práticas sobre como trabalhar com anotações."
159160
160161#: ../../glossary.rst:62
161162msgid "argument"
@@ -400,7 +401,7 @@ msgstr ""
400401
401402#: ../../glossary.rst:162
402403msgid "borrowed reference"
403- msgstr ""
404+ msgstr "referência emprestada "
404405
405406#: ../../glossary.rst:164
406407msgid ""
@@ -409,6 +410,11 @@ msgid ""
409410"object is destroyed. For example, a garbage collection can remove the last :"
410411"term:`strong reference` to the object and so destroy it."
411412msgstr ""
413+ "Na API C do Python, uma referência emprestada é uma referência a um objeto. "
414+ "Ela não modifica a contagem de referências do objeto. Ela se torna um "
415+ "ponteiro pendente se o objeto for destruído. Por exemplo, uma coleta de lixo "
416+ "pode remover a última :term:`referência forte` para o objeto e assim destruí-"
417+ "lo."
412418
413419#: ../../glossary.rst:169
414420msgid ""
@@ -418,6 +424,11 @@ msgid ""
418424"func:`Py_NewRef` function can be used to create a new :term:`strong "
419425"reference`."
420426msgstr ""
427+ "Chamar :c:func:`Py_INCREF` na :term:`referência emprestada` é recomendado "
428+ "para convertê-lo em uma :term:`referência forte` no local, exceto quando o "
429+ "objeto não pode ser destruído antes do último uso da referência emprestada. "
430+ "A função :c:func:`Py_NewRef` pode ser usada para criar uma nova :term:"
431+ "`referência forte`."
421432
422433#: ../../glossary.rst:174
423434msgid "bytes-like object"
@@ -503,7 +514,7 @@ msgstr ""
503514
504515#: ../../glossary.rst:209
505516msgid "class"
506- msgstr "class "
517+ msgstr "classe "
507518
508519#: ../../glossary.rst:211
509520msgid ""
@@ -961,27 +972,36 @@ msgstr "Um sinônimo do termo :term:`objeto arquivo`."
961972
962973#: ../../glossary.rst:402
963974msgid "filesystem encoding and error handler"
964- msgstr ""
975+ msgstr "tratador de erros e codificação do sistema de arquivos "
965976
966977#: ../../glossary.rst:404
967978msgid ""
968979"Encoding and error handler used by Python to decode bytes from the operating "
969980"system and encode Unicode to the operating system."
970981msgstr ""
982+ "Tratador de erros e codificação usado pelo Python para decodificar bytes do "
983+ "sistema operacional e codificar Unicode para o sistema operacional."
971984
972985#: ../../glossary.rst:407
973986msgid ""
974987"The filesystem encoding must guarantee to successfully decode all bytes "
975988"below 128. If the file system encoding fails to provide this guarantee, API "
976989"functions can raise :exc:`UnicodeError`."
977990msgstr ""
991+ "A codificação do sistema de arquivos deve garantir a decodificação bem-"
992+ "sucedida de todos os bytes abaixo de 128. Se a codificação do sistema de "
993+ "arquivos falhar em fornecer essa garantia, as funções da API podem levantar :"
994+ "exc:`UnicodeError`."
978995
979996#: ../../glossary.rst:411
980997msgid ""
981998"The :func:`sys.getfilesystemencoding` and :func:`sys."
982999"getfilesystemencodeerrors` functions can be used to get the filesystem "
9831000"encoding and error handler."
9841001msgstr ""
1002+ "As funções :func:`sys.getfilesystemencoding` e :func:`sys."
1003+ "getfilesystemencodeerrors` podem ser usadas para obter o tratador de erros e "
1004+ "codificação do sistema de arquivos."
9851005
9861006#: ../../glossary.rst:415
9871007msgid ""
@@ -990,10 +1010,14 @@ msgid ""
9901010"filesystem_encoding` and :c:member:`~PyConfig.filesystem_errors` members of :"
9911011"c:type:`PyConfig`."
9921012msgstr ""
1013+ "O :term:`tratador de erros e codificação do sistema de arquivos` são "
1014+ "configurados na inicialização do Python pela função :c:func:`PyConfig_Read`: "
1015+ "veja os membros :c:member:`~PyConfig.filesystem_encoding` e :c:member:"
1016+ "`~PyConfig.filesystem_errors` do :c:type:`PyConfig`."
9931017
9941018#: ../../glossary.rst:420
9951019msgid "See also the :term:`locale encoding`."
996- msgstr ""
1020+ msgstr "Veja também :term:`codificação da localidade`. "
9971021
9981022#: ../../glossary.rst:421
9991023msgid "finder"
@@ -1084,6 +1108,9 @@ msgid ""
10841108"functionality. Also see :ref:`annotations-howto` for best practices on "
10851109"working with annotations."
10861110msgstr ""
1111+ "Veja :term:`anotação de variável` e :pep:`484`, que descrevem esta "
1112+ "funcionalidade. Veja também :ref:`annotations-howto` para as melhores "
1113+ "práticas sobre como trabalhar com anotações."
10871114
10881115#: ../../glossary.rst:462
10891116msgid "__future__"
@@ -1496,7 +1523,7 @@ msgstr ""
14961523
14971524#: ../../glossary.rst:632
14981525msgid "iterable"
1499- msgstr "iterable "
1526+ msgstr "iterável "
15001527
15011528#: ../../glossary.rst:634
15021529msgid ""
@@ -1679,29 +1706,35 @@ msgstr ""
16791706
16801707#: ../../glossary.rst:710
16811708msgid "locale encoding"
1682- msgstr ""
1709+ msgstr "codificação da localidade "
16831710
16841711#: ../../glossary.rst:712
16851712msgid ""
16861713"On Unix, it is the encoding of the LC_CTYPE locale. It can be set with "
16871714"``locale.setlocale(locale.LC_CTYPE, new_locale)``."
16881715msgstr ""
1716+ "No Unix, é a codificação da localidade do LC_CTYPE, que pode ser definida "
1717+ "com ``locale.setlocale(locale.LC_CTYPE, new_locale)``."
16891718
16901719#: ../../glossary.rst:715
16911720msgid "On Windows, it is the ANSI code page (ex: ``cp1252``)."
1692- msgstr ""
1721+ msgstr "No Windows, é a página de código ANSI (ex: ``cp1252``). "
16931722
16941723#: ../../glossary.rst:717
16951724msgid ""
16961725"``locale.getpreferredencoding(False)`` can be used to get the locale "
16971726"encoding."
16981727msgstr ""
1728+ "``locale.getpreferredencoding(False)`` pode ser usado para obter da "
1729+ "codificação da localidade."
16991730
17001731#: ../../glossary.rst:720
17011732msgid ""
17021733"Python uses the :term:`filesystem encoding and error handler` to convert "
17031734"between Unicode filenames and bytes filenames."
17041735msgstr ""
1736+ "Python usa :term:`tratador de erros e codificação do sistema de arquivos` "
1737+ "para converter entre nomes de arquivos e nomes de arquivos de bytes Unicode."
17051738
17061739#: ../../glossary.rst:722
17071740msgid "list"
@@ -2045,7 +2078,7 @@ msgstr ""
20452078
20462079#: ../../glossary.rst:864
20472080msgid "object"
2048- msgstr "object "
2081+ msgstr "objeto "
20492082
20502083#: ../../glossary.rst:866
20512084msgid ""
@@ -2478,7 +2511,7 @@ msgstr ""
24782511
24792512#: ../../glossary.rst:1071
24802513msgid "sequence"
2481- msgstr "sequence "
2514+ msgstr "sequência "
24822515
24832516#: ../../glossary.rst:1073
24842517msgid ""
@@ -2589,14 +2622,17 @@ msgstr ""
25892622
25902623#: ../../glossary.rst:1118
25912624msgid "strong reference"
2592- msgstr ""
2625+ msgstr "referência forte "
25932626
25942627#: ../../glossary.rst:1120
25952628msgid ""
25962629"In Python's C API, a strong reference is a reference to an object which "
25972630"increments the object's reference count when it is created and decrements "
25982631"the object's reference count when it is deleted."
25992632msgstr ""
2633+ "Na API C do Python, uma referência forte é uma referência a um objeto que "
2634+ "aumenta a contagem de referências do objeto quando ele é criado e diminui a "
2635+ "contagem de referências do objeto quando ele é excluído."
26002636
26012637#: ../../glossary.rst:1124
26022638msgid ""
@@ -2605,10 +2641,14 @@ msgid ""
26052641"strong reference before exiting the scope of the strong reference, to avoid "
26062642"leaking one reference."
26072643msgstr ""
2644+ "A função :c:func:`Py_NewRef` pode ser usada para criar uma referência forte "
2645+ "para um objeto. Normalmente, a função :c:func:`Py_DECREF` deve ser chamada "
2646+ "na referência forte antes de sair do escopo da referência forte, para evitar "
2647+ "o vazamento de uma referência."
26082648
26092649#: ../../glossary.rst:1129
26102650msgid "See also :term:`borrowed reference`."
2611- msgstr ""
2651+ msgstr "Veja também :term:`referência emprestada`. "
26122652
26132653#: ../../glossary.rst:1130
26142654msgid "text encoding"
@@ -2791,6 +2831,9 @@ msgid ""
27912831"this functionality. Also see :ref:`annotations-howto` for best practices on "
27922832"working with annotations."
27932833msgstr ""
2834+ "Veja :term:`anotação de função`, :pep:`484` e :pep:`526`, que descrevem esta "
2835+ "funcionalidade. Veja também :ref:`annotations-howto` para as melhores "
2836+ "práticas sobre como trabalhar com anotações."
27942837
27952838#: ../../glossary.rst:1220
27962839msgid "virtual environment"
0 commit comments