44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Raphael Mendonça, 2017
8- # Rafael Fontenelle <rffontenelle@gmail.com>, 2019
97# Marco Rougeth <marco@rougeth.com>, 2020
8+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2021
109#
1110#, fuzzy
1211msgid ""
@@ -15,7 +14,7 @@ msgstr ""
1514"Report-Msgid-Bugs-To : \n "
1615"POT-Creation-Date : 2021-01-07 05:06+0000\n "
1716"PO-Revision-Date : 2017-02-16 17:39+0000\n "
18- "Last-Translator : Marco Rougeth <marco@rougeth .com>, 2020 \n "
17+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail .com>, 2021 \n "
1918"Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
2019"teams/5390/pt_BR/)\n "
2120"MIME-Version : 1.0\n "
@@ -26,35 +25,43 @@ msgstr ""
2625
2726#: ../../c-api/type.rst:6
2827msgid "Type Objects"
29- msgstr "Objetos de tipo"
28+ msgstr "Objetos tipo"
3029
3130#: ../../c-api/type.rst:13
3231msgid "The C structure of the objects used to describe built-in types."
33- msgstr ""
32+ msgstr "A estrutura C dos objetos usados para descrever tipos embutidos. "
3433
3534#: ../../c-api/type.rst:18
3635msgid ""
3736"This is the type object for type objects; it is the same object as :class:"
3837"`type` in the Python layer."
3938msgstr ""
39+ "Este é o objeto de tipo para objetos tipo; é o mesmo objeto que :class:"
40+ "`type` na camada Python."
4041
4142#: ../../c-api/type.rst:24
4243msgid ""
4344"Return non-zero if the object *o* is a type object, including instances of "
4445"types derived from the standard type object. Return 0 in all other cases. "
4546"This function always succeeds."
4647msgstr ""
48+ "Retorna valor diferente de zero se o objeto *o* for um objeto tipo, "
49+ "incluindo instâncias de tipos derivados do objeto tipo padrão. Retorna 0 em "
50+ "todos os outros casos. Esta função sempre tem sucesso."
4751
4852#: ../../c-api/type.rst:31
4953msgid ""
5054"Return non-zero if the object *o* is a type object, but not a subtype of the "
5155"standard type object. Return 0 in all other cases. This function always "
5256"succeeds."
5357msgstr ""
58+ "Retorna valor diferente de zero se o objeto *o* for um objeto tipo, mas não "
59+ "um subtipo do objeto tipo padrão. Retorna 0 em todos os outros casos. Esta "
60+ "função sempre tem sucesso."
5461
5562#: ../../c-api/type.rst:38
5663msgid "Clear the internal lookup cache. Return the current version tag."
57- msgstr ""
64+ msgstr "Limpa o cache de pesquisa interno. Retorna a marcação de versão atual. "
5865
5966#: ../../c-api/type.rst:42
6067msgid ""
@@ -63,54 +70,75 @@ msgid ""
6370"flag bits are guaranteed to be stable across Python releases, but access to :"
6471"c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API."
6572msgstr ""
73+ "Retorna o membro :c:member:`~PyTypeObject.tp_flags` de *type*. Esta função "
74+ "deve ser usada principalmente com `Py_LIMITED_API`; os bits sinalizadores "
75+ "individuais têm garantia de estabilidade em todas as versões do Python, mas "
76+ "o acesso a :c:member:`~PyTypeObject.tp_flags` não faz parte da API limitada."
6677
6778#: ../../c-api/type.rst:49
6879msgid "The return type is now ``unsigned long`` rather than ``long``."
69- msgstr ""
80+ msgstr "O tipo de retorno é agora um ``unsigned long`` em vez de um ``long``. "
7081
7182#: ../../c-api/type.rst:55
7283msgid ""
7384"Invalidate the internal lookup cache for the type and all of its subtypes. "
7485"This function must be called after any manual modification of the attributes "
7586"or base classes of the type."
7687msgstr ""
88+ "Invalida o cache de pesquisa interna para o tipo e todos os seus subtipos. "
89+ "Esta função deve ser chamada após qualquer modificação manual dos atributos "
90+ "ou classes bases do tipo."
7791
7892#: ../../c-api/type.rst:62
7993msgid ""
8094"Return non-zero if the type object *o* sets the feature *feature*. Type "
8195"features are denoted by single bit flags."
8296msgstr ""
97+ "Retorna valor diferente de zero se o objeto tipo *o* define o recurso "
98+ "*feature*. Os recursos de tipo são denotados por sinalizadores de bit único."
8399
84100#: ../../c-api/type.rst:68
85101msgid ""
86102"Return true if the type object includes support for the cycle detector; this "
87103"tests the type flag :const:`Py_TPFLAGS_HAVE_GC`."
88104msgstr ""
105+ "Retorna verdadeiro se o objeto tipo incluir suporte para o detector de "
106+ "ciclo; isso testa o sinalizador de tipo :const:`Py_TPFLAGS_HAVE_GC`."
89107
90108#: ../../c-api/type.rst:74
91109msgid "Return true if *a* is a subtype of *b*."
92- msgstr ""
110+ msgstr "Retorna verdadeiro se *a* for um subtipo de *b*. "
93111
94112#: ../../c-api/type.rst:76
95113msgid ""
96114"This function only checks for actual subtypes, which means that :meth:"
97115"`~class.__subclasscheck__` is not called on *b*. Call :c:func:"
98116"`PyObject_IsSubclass` to do the same check that :func:`issubclass` would do."
99117msgstr ""
118+ "Esta função só verifica pelos subtipos, o que significa que :meth:`~class."
119+ "__subclasscheck__` não é chamado em *b*. Chame :c:func:"
120+ "`PyObject_IsSubclass` para fazer a mesma verificação que :func:`issubclass` "
121+ "faria."
100122
101123#: ../../c-api/type.rst:84
102124msgid ""
103125"Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type "
104126"object. Use Python's default memory allocation mechanism to allocate a new "
105127"instance and initialize all its contents to ``NULL``."
106128msgstr ""
129+ "Manipulador genérico para o slot :c:member:`~PyTypeObject.tp_alloc` de um "
130+ "objeto tipo. Use o mecanismo de alocação de memória padrão do Python para "
131+ "alocar uma nova instância e inicializar todo o seu conteúdo para ``NULL``."
107132
108133#: ../../c-api/type.rst:90
109134msgid ""
110135"Generic handler for the :c:member:`~PyTypeObject.tp_new` slot of a type "
111136"object. Create a new instance using the type's :c:member:`~PyTypeObject."
112137"tp_alloc` slot."
113138msgstr ""
139+ "Manipulador genérico para o slot :c:member:`~PyTypeObject.tp_new` de um "
140+ "objeto tipo. Cria uma nova instância usando o slot :c:member:`~PyTypeObject."
141+ "tp_alloc` do tipo."
114142
115143#: ../../c-api/type.rst:95
116144msgid ""
@@ -119,6 +147,10 @@ msgid ""
119147"slots from a type's base class. Return ``0`` on success, or return ``-1`` "
120148"and sets an exception on error."
121149msgstr ""
150+ "Finaliza um objeto tipo. Isso deve ser chamado em todos os objetos tipo para "
151+ "finalizar sua inicialização. Esta função é responsável por adicionar slots "
152+ "herdados da classe base de um tipo. Retorna ``0`` em caso de sucesso, ou "
153+ "retorna ``-1`` e define uma exceção em caso de erro."
122154
123155#: ../../c-api/type.rst:102
124156msgid ""
@@ -127,27 +159,36 @@ msgid ""
127159"function was called with invalid parameters. Callers will typically cast the "
128160"result pointer into the appropriate function type."
129161msgstr ""
162+ "Retorna o ponteiro de função armazenado no slot fornecido. Se o resultado "
163+ "for ``NULL``, isso indica que o slot é ``NULL`` ou que a função foi chamada "
164+ "com parâmetros inválidos. Os chamadores normalmente lançarão o ponteiro do "
165+ "resultado no tipo de função apropriado."
130166
131167#: ../../c-api/type.rst:108
132168msgid ""
133169"See :c:member:`PyType_Slot.slot` for possible values of the *slot* argument."
134170msgstr ""
171+ "Veja :c:member:`PyType_Slot.slot` por possíveis valores do argumento *slot*."
135172
136173#: ../../c-api/type.rst:110
137174msgid "An exception is raised if *type* is not a heap type."
138- msgstr ""
175+ msgstr "Uma exceção é levantada se *type* não é um tipo heap. "
139176
140177#: ../../c-api/type.rst:116
141178msgid ""
142179"Return the module object associated with the given type when the type was "
143180"created using :c:func:`PyType_FromModuleAndSpec`."
144181msgstr ""
182+ "Retorna o objeto de módulo associado ao tipo fornecido quando o tipo foi "
183+ "criado usando :c:func:`PyType_FromModuleAndSpec`."
145184
146185#: ../../c-api/type.rst:119 ../../c-api/type.rst:137
147186msgid ""
148187"If no module is associated with the given type, sets :py:class:`TypeError` "
149188"and returns ``NULL``."
150189msgstr ""
190+ "Se nenhum módulo estiver associado com o tipo fornecido, define :py:class:"
191+ "`TypeError` e retorna ``NULL``."
151192
152193#: ../../c-api/type.rst:122
153194msgid ""
0 commit comments