@@ -13,8 +13,10 @@ msgstr ""
1313"Report-Msgid-Bugs-To : \n "
1414"POT-Creation-Date : 2020-04-10 22:51+0000\n "
1515"PO-Revision-Date : 2019-09-01 03:39+0000\n "
16- "Last-Translator : Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2019\n "
17- "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n "
16+ "Last-Translator : Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, "
17+ "2019\n "
18+ "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
19+ "teams/5390/pt_BR/)\n "
1820"Language : pt_BR\n "
1921"MIME-Version : 1.0\n "
2022"Content-Type : text/plain; charset=UTF-8\n "
@@ -39,9 +41,9 @@ msgid ""
3941"function (that is, increment the reference count of NotImplemented and "
4042"return it)."
4143msgstr ""
42- "Trata corretamente o retorno de :c:data:`Py_NotImplemented` de dentro de uma"
43- " função C (ou seja, incrementa a contagem de referências de NotImplemented e"
44- " retorna-a)."
44+ "Trata corretamente o retorno de :c:data:`Py_NotImplemented` de dentro de uma "
45+ "função C (ou seja, incrementa a contagem de referências de NotImplemented e "
46+ "retorna-a)."
4547
4648#: ../../c-api/object.rst:24
4749msgid ""
@@ -54,23 +56,23 @@ msgstr ""
5456#: ../../c-api/object.rst:32 ../../c-api/object.rst:43
5557msgid ""
5658"Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. "
57- "This is equivalent to the Python expression ``hasattr(o, attr_name)``. This"
58- " function always succeeds."
59+ "This is equivalent to the Python expression ``hasattr(o, attr_name)``. This "
60+ "function always succeeds."
5961msgstr ""
6062
6163#: ../../c-api/object.rst:36
6264msgid ""
63- "Note that exceptions which occur while calling :meth:`__getattr__` and "
64- ":meth: `__getattribute__` methods will get suppressed. To get error reporting"
65- " use : c:func:`PyObject_GetAttr()` instead."
65+ "Note that exceptions which occur while calling :meth:`__getattr__` and :meth: "
66+ "`__getattribute__` methods will get suppressed. To get error reporting use : "
67+ "c:func:`PyObject_GetAttr()` instead."
6668msgstr ""
6769
6870#: ../../c-api/object.rst:47
6971msgid ""
70- "Note that exceptions which occur while calling :meth:`__getattr__` and "
71- ":meth: `__getattribute__` methods and creating a temporary string object will"
72- " get suppressed. To get error reporting use "
73- ":c:func:`PyObject_GetAttrString()` instead."
72+ "Note that exceptions which occur while calling :meth:`__getattr__` and :meth: "
73+ "`__getattribute__` methods and creating a temporary string object will get "
74+ "suppressed. To get error reporting use :c:func:`PyObject_GetAttrString()` "
75+ "instead."
7476msgstr ""
7577
7678#: ../../c-api/object.rst:55
@@ -91,18 +93,17 @@ msgstr ""
9193msgid ""
9294"Generic attribute getter function that is meant to be put into a type "
9395"object's ``tp_getattro`` slot. It looks for a descriptor in the dictionary "
94- "of classes in the object's MRO as well as an attribute in the object's "
95- ":attr: `~object.__dict__` (if present). As outlined in :ref:`descriptors`, "
96- "data descriptors take preference over instance attributes, while non-data "
96+ "of classes in the object's MRO as well as an attribute in the object's :attr: "
97+ "`~object.__dict__` (if present). As outlined in :ref:`descriptors`, data "
98+ "descriptors take preference over instance attributes, while non-data "
9799"descriptors don't. Otherwise, an :exc:`AttributeError` is raised."
98100msgstr ""
99101
100102#: ../../c-api/object.rst:79 ../../c-api/object.rst:90
101103msgid ""
102104"Set the value of the attribute named *attr_name*, for object *o*, to the "
103105"value *v*. Raise an exception and return ``-1`` on failure; return ``0`` on "
104- "success. This is the equivalent of the Python statement ``o.attr_name = "
105- "v``."
106+ "success. This is the equivalent of the Python statement ``o.attr_name = v``."
106107msgstr ""
107108
108109#: ../../c-api/object.rst:84
@@ -119,8 +120,8 @@ msgstr ""
119120
120121#: ../../c-api/object.rst:101
121122msgid ""
122- "Generic attribute setter and deleter function that is meant to be put into a"
123- " type object's :c:member:`~PyTypeObject.tp_setattro` slot. It looks for a "
123+ "Generic attribute setter and deleter function that is meant to be put into a "
124+ "type object's :c:member:`~PyTypeObject.tp_setattro` slot. It looks for a "
124125"data descriptor in the dictionary of classes in the object's MRO, and if "
125126"found it takes preference over setting or deleting the attribute in the "
126127"instance dictionary. Otherwise, the attribute is set or deleted in the "
@@ -149,24 +150,24 @@ msgstr ""
149150
150151#: ../../c-api/object.rst:141
151152msgid ""
152- "Compare the values of *o1* and *o2* using the operation specified by *opid*,"
153- " which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, "
154- ":const: `Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, "
155- "``<=``, ``== ``, ``!=``, ``>``, or ``>=`` respectively. This is the "
156- "equivalent of the Python expression ``o1 op o2``, where ``op`` is the "
157- "operator corresponding to *opid*. Returns the value of the comparison on "
158- "success, or ``NULL`` on failure."
153+ "Compare the values of *o1* and *o2* using the operation specified by *opid*, "
154+ "which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, :const: "
155+ "`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, ``<= ``, "
156+ "``== ``, ``!=``, ``>``, or ``>=`` respectively. This is the equivalent of the "
157+ "Python expression ``o1 op o2``, where ``op`` is the operator corresponding "
158+ "to *opid*. Returns the value of the comparison on success, or ``NULL`` on "
159+ "failure."
159160msgstr ""
160161
161162#: ../../c-api/object.rst:151
162163msgid ""
163- "Compare the values of *o1* and *o2* using the operation specified by *opid*,"
164- " which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, "
165- ":const: `Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, "
166- "``<=``, ``== ``, ``!=``, ``>``, or ``>=`` respectively. Returns ``-1`` on "
167- "error, ``0`` if the result is false, ``1`` otherwise. This is the equivalent"
168- " of the Python expression ``o1 op o2``, where ``op`` is the operator "
169- "corresponding to *opid*."
164+ "Compare the values of *o1* and *o2* using the operation specified by *opid*, "
165+ "which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, :const: "
166+ "`Py_NE`, :const:`Py_GT`, or :const:`Py_GE`, corresponding to ``<``, ``<= ``, "
167+ "``== ``, ``!=``, ``>``, or ``>=`` respectively. Returns ``-1`` on error, "
168+ "``0`` if the result is false, ``1`` otherwise. This is the equivalent of the "
169+ "Python expression ``o1 op o2``, where ``op`` is the operator corresponding "
170+ "to *opid*."
170171msgstr ""
171172
172173#: ../../c-api/object.rst:160
@@ -185,17 +186,17 @@ msgstr ""
185186
186187#: ../../c-api/object.rst:171 ../../c-api/object.rst:195
187188msgid ""
188- "This function now includes a debug assertion to help ensure that it does not"
189- " silently discard an active exception."
189+ "This function now includes a debug assertion to help ensure that it does not "
190+ "silently discard an active exception."
190191msgstr ""
191192
192193#: ../../c-api/object.rst:179
193194msgid ""
194195"As :c:func:`PyObject_Repr`, compute a string representation of object *o*, "
195- "but escape the non-ASCII characters in the string returned by "
196- ":c:func: `PyObject_Repr` with ``\\ x``, ``\\ u`` or ``\\ U`` escapes. This "
197- "generates a string similar to that returned by :c:func:`PyObject_Repr` in "
198- "Python 2. Called by the :func:`ascii` built-in function."
196+ "but escape the non-ASCII characters in the string returned by :c:func: "
197+ "`PyObject_Repr` with ``\\ x``, ``\\ u`` or ``\\ U`` escapes. This generates a "
198+ "string similar to that returned by :c:func:`PyObject_Repr` in Python 2. "
199+ "Called by the :func:`ascii` built-in function."
199200msgstr ""
200201
201202#: ../../c-api/object.rst:190
@@ -210,8 +211,8 @@ msgstr ""
210211msgid ""
211212"Compute a bytes representation of object *o*. ``NULL`` is returned on "
212213"failure and a bytes object on success. This is equivalent to the Python "
213- "expression ``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a"
214- " TypeError is raised when *o* is an integer instead of a zero-initialized "
214+ "expression ``bytes(o)``, when *o* is not an integer. Unlike ``bytes(o)``, a "
215+ "TypeError is raised when *o* is an integer instead of a zero-initialized "
215216"bytes object."
216217msgstr ""
217218
@@ -230,17 +231,17 @@ msgstr ""
230231
231232#: ../../c-api/object.rst:219
232233msgid ""
233- "If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to"
234- " determine the subclass status as described in :pep:`3119`. Otherwise, "
235- "*derived* is a subclass of *cls* if it is a direct or indirect subclass, "
236- "i. e. contained in ``cls.__mro__``."
234+ "If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to "
235+ "determine the subclass status as described in :pep:`3119`. Otherwise, "
236+ "*derived* is a subclass of *cls* if it is a direct or indirect subclass, i. "
237+ "e. contained in ``cls.__mro__``."
237238msgstr ""
238239
239240#: ../../c-api/object.rst:224
240241msgid ""
241242"Normally only class objects, i.e. instances of :class:`type` or a derived "
242- "class, are considered classes. However, objects can override this by having"
243- " a :attr:`__bases__` attribute (which must be a tuple of base classes)."
243+ "class, are considered classes. However, objects can override this by having "
244+ "a :attr:`__bases__` attribute (which must be a tuple of base classes)."
244245msgstr ""
245246
246247#: ../../c-api/object.rst:231
@@ -251,15 +252,15 @@ msgstr ""
251252
252253#: ../../c-api/object.rst:238
253254msgid ""
254- "If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to"
255- " determine the subclass status as described in :pep:`3119`. Otherwise, "
255+ "If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to "
256+ "determine the subclass status as described in :pep:`3119`. Otherwise, "
256257"*inst* is an instance of *cls* if its class is a subclass of *cls*."
257258msgstr ""
258259
259260#: ../../c-api/object.rst:242
260261msgid ""
261- "An instance *inst* can override what is considered its class by having a "
262- ": attr:`__class__` attribute."
262+ "An instance *inst* can override what is considered its class by having a : "
263+ "attr:`__class__` attribute."
263264msgstr ""
264265
265266#: ../../c-api/object.rst:245
@@ -274,14 +275,16 @@ msgid ""
274275"Determine if the object *o* is callable. Return ``1`` if the object is "
275276"callable and ``0`` otherwise. This function always succeeds."
276277msgstr ""
277- "Determine se o objeto *o* é chamável. Devolva ``1`` se o objeto é chamável e"
278- " ``0`` caso contrário. Esta função sempre tem êxito."
278+ "Determine se o objeto *o* é chamável. Devolva ``1`` se o objeto é chamável e "
279+ "``0`` caso contrário. Esta função sempre tem êxito."
279280
280281#: ../../c-api/object.rst:258
281282msgid ""
282283"Call a callable Python object *callable*, with arguments given by the tuple "
283284"*args*, and named arguments given by the dictionary *kwargs*."
284285msgstr ""
286+ "Chame um objeto Python chamável de *callable*, com argumentos dados pela "
287+ "tupla *args*, e argumentos nomeados dados pelo dicionário *kwargs*."
285288
286289#: ../../c-api/object.rst:261
287290msgid ""
@@ -302,6 +305,7 @@ msgid ""
302305"This is the equivalent of the Python expression: ``callable(*args, "
303306"**kwargs)``."
304307msgstr ""
308+ "Esse é o equivalente da expressão Python: ``callable(*args, **kwargs)``."
305309
306310#: ../../c-api/object.rst:273
307311msgid ""
@@ -311,7 +315,7 @@ msgstr ""
311315
312316#: ../../c-api/object.rst:279 ../../c-api/object.rst:291
313317msgid "This is the equivalent of the Python expression: ``callable(*args)``."
314- msgstr ""
318+ msgstr "Este é o equivalente da expressão Python: ``callable(*args)``. "
315319
316320#: ../../c-api/object.rst:284
317321msgid ""
@@ -323,13 +327,13 @@ msgstr ""
323327
324328#: ../../c-api/object.rst:293
325329msgid ""
326- "Note that if you only pass :c:type:`PyObject \\ *` args, "
327- ":c:func: `PyObject_CallFunctionObjArgs` is a faster alternative."
330+ "Note that if you only pass :c:type:`PyObject \\ *` args, :c:func: "
331+ "`PyObject_CallFunctionObjArgs` is a faster alternative."
328332msgstr ""
329333
330334#: ../../c-api/object.rst:296
331335msgid "The type of *format* was changed from ``char *``."
332- msgstr ""
336+ msgstr "O tipo de *format* foi mudado de ``char *``. "
333337
334338#: ../../c-api/object.rst:302
335339msgid ""
@@ -344,32 +348,34 @@ msgstr ""
344348
345349#: ../../c-api/object.rst:311
346350msgid ""
347- "This is the equivalent of the Python expression: ``obj.name(arg1, arg2, "
348- "...)``."
351+ "This is the equivalent of the Python expression: ``obj.name(arg1, "
352+ "arg2, ...)``."
349353msgstr ""
354+ "Este é o equivalente da expressão Python: ``obj.name(arg1, arg2, ...)``."
350355
351356#: ../../c-api/object.rst:314
352357msgid ""
353- "Note that if you only pass :c:type:`PyObject \\ *` args, "
354- ":c:func: `PyObject_CallMethodObjArgs` is a faster alternative."
358+ "Note that if you only pass :c:type:`PyObject \\ *` args, :c:func: "
359+ "`PyObject_CallMethodObjArgs` is a faster alternative."
355360msgstr ""
356361
357362#: ../../c-api/object.rst:317
358363msgid "The types of *name* and *format* were changed from ``char *``."
359- msgstr ""
364+ msgstr "Os tipos de *name* e *format* foram mudados de ``char *``. "
360365
361366#: ../../c-api/object.rst:323
362367msgid ""
363- "Call a callable Python object *callable*, with a variable number of "
364- ":c:type: `PyObject\\ *` arguments. The arguments are provided as a variable "
365- "number of parameters followed by ``NULL``."
368+ "Call a callable Python object *callable*, with a variable number of :c:type: "
369+ "`PyObject\\ *` arguments. The arguments are provided as a variable number of "
370+ "parameters followed by ``NULL``."
366371msgstr ""
367372
368373#: ../../c-api/object.rst:330
369374msgid ""
370- "This is the equivalent of the Python expression: ``callable(arg1, arg2, "
371- "...)``."
375+ "This is the equivalent of the Python expression: ``callable(arg1, "
376+ "arg2, ...)``."
372377msgstr ""
378+ "Este é o equivalente da expressão Python: ``callable(arg1, arg2, ...)``."
373379
374380#: ../../c-api/object.rst:336
375381msgid ""
@@ -387,8 +393,8 @@ msgstr ""
387393
388394#: ../../c-api/object.rst:352
389395msgid ""
390- "The return type is now Py_hash_t. This is a signed integer the same size as"
391- " Py_ssize_t."
396+ "The return type is now Py_hash_t. This is a signed integer the same size as "
397+ "Py_ssize_t."
392398msgstr ""
393399
394400#: ../../c-api/object.rst:359
@@ -419,8 +425,8 @@ msgid ""
419425"type of object *o*. On failure, raises :exc:`SystemError` and returns "
420426"``NULL``. This is equivalent to the Python expression ``type(o)``. This "
421427"function increments the reference count of the return value. There's really "
422- "no reason to use this function instead of the common expression "
423- "``o- >ob_type``, which returns a pointer of type :c:type:`PyTypeObject\\ *`, "
428+ "no reason to use this function instead of the common expression ``o- "
429+ ">ob_type``, which returns a pointer of type :c:type:`PyTypeObject\\ *`, "
424430"except when the incremented reference count is needed."
425431msgstr ""
426432
@@ -454,8 +460,8 @@ msgstr ""
454460
455461#: ../../c-api/object.rst:426
456462msgid ""
457- "Map the object *key* to the value *v*. Raise an exception and return ``-1``"
458- " on failure; return ``0`` on success. This is the equivalent of the Python "
463+ "Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
464+ "on failure; return ``0`` on success. This is the equivalent of the Python "
459465"statement ``o[key] = v``."
460466msgstr ""
461467
@@ -471,8 +477,8 @@ msgid ""
471477"(possibly empty) list of strings appropriate for the object argument, or "
472478"``NULL`` if there was an error. If the argument is ``NULL``, this is like "
473479"the Python ``dir()``, returning the names of the current locals; in this "
474- "case, if no execution frame is active then ``NULL`` is returned but "
475- ":c:func: `PyErr_Occurred` will return false."
480+ "case, if no execution frame is active then ``NULL`` is returned but :c:func: "
481+ "`PyErr_Occurred` will return false."
476482msgstr ""
477483
478484#: ../../c-api/object.rst:448
0 commit comments