@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.11\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-03-10 14:15 +0000\n "
14+ "POT-Creation-Date : 2023-03-24 14:14 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:49+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2021\n "
1717"Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
@@ -203,21 +203,34 @@ msgid ""
203203"will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`."
204204msgstr ""
205205
206- #: ../../c-api/object.rst:186
206+ #: ../../c-api/object.rst:184
207+ msgid ""
208+ "Format *obj* using *format_spec*. This is equivalent to the Python "
209+ "expression ``format(obj, format_spec)``."
210+ msgstr ""
211+
212+ #: ../../c-api/object.rst:187
213+ msgid ""
214+ "*format_spec* may be ``NULL``. In this case the call is equivalent to "
215+ "``format(obj)``. Returns the formatted string on success, ``NULL`` on "
216+ "failure."
217+ msgstr ""
218+
219+ #: ../../c-api/object.rst:195
207220msgid ""
208221"Compute a string representation of object *o*. Returns the string "
209222"representation on success, ``NULL`` on failure. This is the equivalent of "
210223"the Python expression ``repr(o)``. Called by the :func:`repr` built-in "
211224"function."
212225msgstr ""
213226
214- #: ../../c-api/object.rst:190 ../../c-api/object.rst:214
227+ #: ../../c-api/object.rst:199 ../../c-api/object.rst:223
215228msgid ""
216229"This function now includes a debug assertion to help ensure that it does not "
217230"silently discard an active exception."
218231msgstr ""
219232
220- #: ../../c-api/object.rst:198
233+ #: ../../c-api/object.rst:207
221234msgid ""
222235"As :c:func:`PyObject_Repr`, compute a string representation of object *o*, "
223236"but escape the non-ASCII characters in the string returned by :c:func:"
@@ -226,15 +239,15 @@ msgid ""
226239"Called by the :func:`ascii` built-in function."
227240msgstr ""
228241
229- #: ../../c-api/object.rst:209
242+ #: ../../c-api/object.rst:218
230243msgid ""
231244"Compute a string representation of object *o*. Returns the string "
232245"representation on success, ``NULL`` on failure. This is the equivalent of "
233246"the Python expression ``str(o)``. Called by the :func:`str` built-in "
234247"function and, therefore, by the :func:`print` function."
235248msgstr ""
236249
237- #: ../../c-api/object.rst:223
250+ #: ../../c-api/object.rst:232
238251msgid ""
239252"Compute a bytes representation of object *o*. ``NULL`` is returned on "
240253"failure and a bytes object on success. This is equivalent to the Python "
@@ -243,95 +256,95 @@ msgid ""
243256"bytes object."
244257msgstr ""
245258
246- #: ../../c-api/object.rst:232
259+ #: ../../c-api/object.rst:241
247260msgid ""
248261"Return ``1`` if the class *derived* is identical to or derived from the "
249262"class *cls*, otherwise return ``0``. In case of an error, return ``-1``."
250263msgstr ""
251264
252- #: ../../c-api/object.rst:235 ../../c-api/object.rst:254
265+ #: ../../c-api/object.rst:244 ../../c-api/object.rst:263
253266msgid ""
254267"If *cls* is a tuple, the check will be done against every entry in *cls*. "
255268"The result will be ``1`` when at least one of the checks returns ``1``, "
256269"otherwise it will be ``0``."
257270msgstr ""
258271
259- #: ../../c-api/object.rst:239
272+ #: ../../c-api/object.rst:248
260273msgid ""
261274"If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to "
262275"determine the subclass status as described in :pep:`3119`. Otherwise, "
263276"*derived* is a subclass of *cls* if it is a direct or indirect subclass, i."
264277"e. contained in ``cls.__mro__``."
265278msgstr ""
266279
267- #: ../../c-api/object.rst:244
280+ #: ../../c-api/object.rst:253
268281msgid ""
269282"Normally only class objects, i.e. instances of :class:`type` or a derived "
270283"class, are considered classes. However, objects can override this by having "
271284"a :attr:`__bases__` attribute (which must be a tuple of base classes)."
272285msgstr ""
273286
274- #: ../../c-api/object.rst:251
287+ #: ../../c-api/object.rst:260
275288msgid ""
276289"Return ``1`` if *inst* is an instance of the class *cls* or a subclass of "
277290"*cls*, or ``0`` if not. On error, returns ``-1`` and sets an exception."
278291msgstr ""
279292
280- #: ../../c-api/object.rst:258
293+ #: ../../c-api/object.rst:267
281294msgid ""
282295"If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to "
283296"determine the subclass status as described in :pep:`3119`. Otherwise, "
284297"*inst* is an instance of *cls* if its class is a subclass of *cls*."
285298msgstr ""
286299
287- #: ../../c-api/object.rst:262
300+ #: ../../c-api/object.rst:271
288301msgid ""
289302"An instance *inst* can override what is considered its class by having a :"
290303"attr:`__class__` attribute."
291304msgstr ""
292305
293- #: ../../c-api/object.rst:265
306+ #: ../../c-api/object.rst:274
294307msgid ""
295308"An object *cls* can override if it is considered a class, and what its base "
296309"classes are, by having a :attr:`__bases__` attribute (which must be a tuple "
297310"of base classes)."
298311msgstr ""
299312
300- #: ../../c-api/object.rst:274
313+ #: ../../c-api/object.rst:283
301314msgid ""
302315"Compute and return the hash value of an object *o*. On failure, return "
303316"``-1``. This is the equivalent of the Python expression ``hash(o)``."
304317msgstr ""
305318
306- #: ../../c-api/object.rst:277
319+ #: ../../c-api/object.rst:286
307320msgid ""
308321"The return type is now Py_hash_t. This is a signed integer the same size "
309322"as :c:type:`Py_ssize_t`."
310323msgstr ""
311324
312- #: ../../c-api/object.rst:284
325+ #: ../../c-api/object.rst:293
313326msgid ""
314327"Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` "
315328"and return ``-1``. This function receives special treatment when stored in a "
316329"``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter "
317330"that it is not hashable."
318331msgstr ""
319332
320- #: ../../c-api/object.rst:292
333+ #: ../../c-api/object.rst:301
321334msgid ""
322335"Returns ``1`` if the object *o* is considered to be true, and ``0`` "
323336"otherwise. This is equivalent to the Python expression ``not not o``. On "
324337"failure, return ``-1``."
325338msgstr ""
326339
327- #: ../../c-api/object.rst:299
340+ #: ../../c-api/object.rst:308
328341msgid ""
329342"Returns ``0`` if the object *o* is considered to be true, and ``1`` "
330343"otherwise. This is equivalent to the Python expression ``not o``. On "
331344"failure, return ``-1``."
332345msgstr ""
333346
334- #: ../../c-api/object.rst:308
347+ #: ../../c-api/object.rst:317
335348msgid ""
336349"When *o* is non-``NULL``, returns a type object corresponding to the object "
337350"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -342,21 +355,21 @@ msgid ""
342355"incremented reference count is needed."
343356msgstr ""
344357
345- #: ../../c-api/object.rst:319
358+ #: ../../c-api/object.rst:328
346359msgid ""
347360"Return non-zero if the object *o* is of type *type* or a subtype of *type*, "
348361"and ``0`` otherwise. Both parameters must be non-``NULL``."
349362msgstr ""
350363
351- #: ../../c-api/object.rst:328
364+ #: ../../c-api/object.rst:337
352365msgid ""
353366"Return the length of object *o*. If the object *o* provides either the "
354367"sequence and mapping protocols, the sequence length is returned. On error, "
355368"``-1`` is returned. This is the equivalent to the Python expression "
356369"``len(o)``."
357370msgstr ""
358371
359- #: ../../c-api/object.rst:335
372+ #: ../../c-api/object.rst:344
360373msgid ""
361374"Return an estimated length for the object *o*. First try to return its "
362375"actual length, then an estimate using :meth:`~object.__length_hint__`, and "
@@ -365,26 +378,26 @@ msgid ""
365378"defaultvalue)``."
366379msgstr ""
367380
368- #: ../../c-api/object.rst:345
381+ #: ../../c-api/object.rst:354
369382msgid ""
370383"Return element of *o* corresponding to the object *key* or ``NULL`` on "
371384"failure. This is the equivalent of the Python expression ``o[key]``."
372385msgstr ""
373386
374- #: ../../c-api/object.rst:351
387+ #: ../../c-api/object.rst:360
375388msgid ""
376389"Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
377390"on failure; return ``0`` on success. This is the equivalent of the Python "
378391"statement ``o[key] = v``. This function *does not* steal a reference to *v*."
379392msgstr ""
380393
381- #: ../../c-api/object.rst:359
394+ #: ../../c-api/object.rst:368
382395msgid ""
383396"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
384397"on failure. This is equivalent to the Python statement ``del o[key]``."
385398msgstr ""
386399
387- #: ../../c-api/object.rst:365
400+ #: ../../c-api/object.rst:374
388401msgid ""
389402"This is equivalent to the Python expression ``dir(o)``, returning a "
390403"(possibly empty) list of strings appropriate for the object argument, or "
@@ -394,15 +407,15 @@ msgid ""
394407"`PyErr_Occurred` will return false."
395408msgstr ""
396409
397- #: ../../c-api/object.rst:374
410+ #: ../../c-api/object.rst:383
398411msgid ""
399412"This is equivalent to the Python expression ``iter(o)``. It returns a new "
400413"iterator for the object argument, or the object itself if the object is "
401414"already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the "
402415"object cannot be iterated."
403416msgstr ""
404417
405- #: ../../c-api/object.rst:382
418+ #: ../../c-api/object.rst:391
406419msgid ""
407420"This is the equivalent to the Python expression ``aiter(o)``. Takes an :"
408421"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "
0 commit comments