@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.14\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-10-29 14:15 +0000\n "
15+ "POT-Creation-Date : 2025-12-09 14:17 +0000\n "
1616"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1717"Last-Translator : Gustavo Reis, 2025\n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -349,21 +349,28 @@ msgstr ""
349349
350350#: ../../c-api/gcsupport.rst:235
351351msgid ""
352+ "The traversal function must not have any side effects. Implementations may "
353+ "not modify the reference counts of any Python objects nor create or destroy "
354+ "any Python objects."
355+ msgstr ""
356+
357+ #: ../../c-api/gcsupport.rst:239
358+ msgid ""
352359"To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:"
353360"func:`Py_VISIT` macro is provided. In order to use this macro, the :c:"
354361"member:`~PyTypeObject.tp_traverse` implementation must name its arguments "
355362"exactly *visit* and *arg*:"
356363msgstr ""
357364
358- #: ../../c-api/gcsupport.rst:242
365+ #: ../../c-api/gcsupport.rst:246
359366msgid ""
360367"If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, "
361368"with arguments *o* and *arg*. If *visit* returns a non-zero value, then "
362369"return it. Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers "
363370"look like::"
364371msgstr ""
365372
366- #: ../../c-api/gcsupport.rst:247
373+ #: ../../c-api/gcsupport.rst:251
367374msgid ""
368375"static int\n"
369376"my_traverse(Noddy *self, visitproc visit, void *arg)\n"
@@ -374,13 +381,13 @@ msgid ""
374381"}"
375382msgstr ""
376383
377- #: ../../c-api/gcsupport.rst:255
384+ #: ../../c-api/gcsupport.rst:259
378385msgid ""
379386"The :c:member:`~PyTypeObject.tp_clear` handler must be of the :c:type:"
380387"`inquiry` type, or ``NULL`` if the object is immutable."
381388msgstr ""
382389
383- #: ../../c-api/gcsupport.rst:261
390+ #: ../../c-api/gcsupport.rst:265
384391msgid ""
385392"Drop references that may have created reference cycles. Immutable objects "
386393"do not have to define this method since they can never directly create "
@@ -390,78 +397,78 @@ msgid ""
390397"in a reference cycle."
391398msgstr ""
392399
393- #: ../../c-api/gcsupport.rst:270
400+ #: ../../c-api/gcsupport.rst:274
394401msgid "Controlling the Garbage Collector State"
395402msgstr "Controlando o estado do coletor de lixo"
396403
397- #: ../../c-api/gcsupport.rst:272
404+ #: ../../c-api/gcsupport.rst:276
398405msgid ""
399406"The C-API provides the following functions for controlling garbage "
400407"collection runs."
401408msgstr ""
402409
403- #: ../../c-api/gcsupport.rst:277
410+ #: ../../c-api/gcsupport.rst:281
404411msgid ""
405412"Perform a full garbage collection, if the garbage collector is enabled. "
406413"(Note that :func:`gc.collect` runs it unconditionally.)"
407414msgstr ""
408415
409- #: ../../c-api/gcsupport.rst:280
416+ #: ../../c-api/gcsupport.rst:284
410417msgid ""
411418"Returns the number of collected + unreachable objects which cannot be "
412419"collected. If the garbage collector is disabled or already collecting, "
413420"returns ``0`` immediately. Errors during garbage collection are passed to :"
414421"data:`sys.unraisablehook`. This function does not raise exceptions."
415422msgstr ""
416423
417- #: ../../c-api/gcsupport.rst:290
424+ #: ../../c-api/gcsupport.rst:294
418425msgid ""
419426"Enable the garbage collector: similar to :func:`gc.enable`. Returns the "
420427"previous state, 0 for disabled and 1 for enabled."
421428msgstr ""
422429
423- #: ../../c-api/gcsupport.rst:298
430+ #: ../../c-api/gcsupport.rst:302
424431msgid ""
425432"Disable the garbage collector: similar to :func:`gc.disable`. Returns the "
426433"previous state, 0 for disabled and 1 for enabled."
427434msgstr ""
428435
429- #: ../../c-api/gcsupport.rst:306
436+ #: ../../c-api/gcsupport.rst:310
430437msgid ""
431438"Query the state of the garbage collector: similar to :func:`gc.isenabled`. "
432439"Returns the current state, 0 for disabled and 1 for enabled."
433440msgstr ""
434441
435- #: ../../c-api/gcsupport.rst:313
442+ #: ../../c-api/gcsupport.rst:317
436443msgid "Querying Garbage Collector State"
437444msgstr ""
438445
439- #: ../../c-api/gcsupport.rst:315
446+ #: ../../c-api/gcsupport.rst:319
440447msgid ""
441448"The C-API provides the following interface for querying information about "
442449"the garbage collector."
443450msgstr ""
444451
445- #: ../../c-api/gcsupport.rst:320
452+ #: ../../c-api/gcsupport.rst:324
446453msgid ""
447454"Run supplied *callback* on all live GC-capable objects. *arg* is passed "
448455"through to all invocations of *callback*."
449456msgstr ""
450457
451- #: ../../c-api/gcsupport.rst:324
458+ #: ../../c-api/gcsupport.rst:328
452459msgid ""
453460"If new objects are (de)allocated by the callback it is undefined if they "
454461"will be visited."
455462msgstr ""
456463
457- #: ../../c-api/gcsupport.rst:327
464+ #: ../../c-api/gcsupport.rst:331
458465msgid ""
459466"Garbage collection is disabled during operation. Explicitly running a "
460467"collection in the callback may lead to undefined behaviour e.g. visiting the "
461468"same objects multiple times or not at all."
462469msgstr ""
463470
464- #: ../../c-api/gcsupport.rst:335
471+ #: ../../c-api/gcsupport.rst:339
465472msgid ""
466473"Type of the visitor function to be passed to :c:func:"
467474"`PyUnstable_GC_VisitObjects`. *arg* is the same as the *arg* passed to "
0 commit comments