Skip to content

Commit 2b9beea

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com> Co-Authored-By: Rainer Terroso
1 parent 7a0ef86 commit 2b9beea

11 files changed

Lines changed: 14456 additions & 14352 deletions

File tree

c-api/gcsupport.po

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
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
351351
msgid ""
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*:"
356363
msgstr ""
357364

358-
#: ../../c-api/gcsupport.rst:242
365+
#: ../../c-api/gcsupport.rst:246
359366
msgid ""
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::"
364371
msgstr ""
365372

366-
#: ../../c-api/gcsupport.rst:247
373+
#: ../../c-api/gcsupport.rst:251
367374
msgid ""
368375
"static int\n"
369376
"my_traverse(Noddy *self, visitproc visit, void *arg)\n"
@@ -374,13 +381,13 @@ msgid ""
374381
"}"
375382
msgstr ""
376383

377-
#: ../../c-api/gcsupport.rst:255
384+
#: ../../c-api/gcsupport.rst:259
378385
msgid ""
379386
"The :c:member:`~PyTypeObject.tp_clear` handler must be of the :c:type:"
380387
"`inquiry` type, or ``NULL`` if the object is immutable."
381388
msgstr ""
382389

383-
#: ../../c-api/gcsupport.rst:261
390+
#: ../../c-api/gcsupport.rst:265
384391
msgid ""
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."
391398
msgstr ""
392399

393-
#: ../../c-api/gcsupport.rst:270
400+
#: ../../c-api/gcsupport.rst:274
394401
msgid "Controlling the Garbage Collector State"
395402
msgstr "Controlando o estado do coletor de lixo"
396403

397-
#: ../../c-api/gcsupport.rst:272
404+
#: ../../c-api/gcsupport.rst:276
398405
msgid ""
399406
"The C-API provides the following functions for controlling garbage "
400407
"collection runs."
401408
msgstr ""
402409

403-
#: ../../c-api/gcsupport.rst:277
410+
#: ../../c-api/gcsupport.rst:281
404411
msgid ""
405412
"Perform a full garbage collection, if the garbage collector is enabled. "
406413
"(Note that :func:`gc.collect` runs it unconditionally.)"
407414
msgstr ""
408415

409-
#: ../../c-api/gcsupport.rst:280
416+
#: ../../c-api/gcsupport.rst:284
410417
msgid ""
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."
415422
msgstr ""
416423

417-
#: ../../c-api/gcsupport.rst:290
424+
#: ../../c-api/gcsupport.rst:294
418425
msgid ""
419426
"Enable the garbage collector: similar to :func:`gc.enable`. Returns the "
420427
"previous state, 0 for disabled and 1 for enabled."
421428
msgstr ""
422429

423-
#: ../../c-api/gcsupport.rst:298
430+
#: ../../c-api/gcsupport.rst:302
424431
msgid ""
425432
"Disable the garbage collector: similar to :func:`gc.disable`. Returns the "
426433
"previous state, 0 for disabled and 1 for enabled."
427434
msgstr ""
428435

429-
#: ../../c-api/gcsupport.rst:306
436+
#: ../../c-api/gcsupport.rst:310
430437
msgid ""
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."
433440
msgstr ""
434441

435-
#: ../../c-api/gcsupport.rst:313
442+
#: ../../c-api/gcsupport.rst:317
436443
msgid "Querying Garbage Collector State"
437444
msgstr ""
438445

439-
#: ../../c-api/gcsupport.rst:315
446+
#: ../../c-api/gcsupport.rst:319
440447
msgid ""
441448
"The C-API provides the following interface for querying information about "
442449
"the garbage collector."
443450
msgstr ""
444451

445-
#: ../../c-api/gcsupport.rst:320
452+
#: ../../c-api/gcsupport.rst:324
446453
msgid ""
447454
"Run supplied *callback* on all live GC-capable objects. *arg* is passed "
448455
"through to all invocations of *callback*."
449456
msgstr ""
450457

451-
#: ../../c-api/gcsupport.rst:324
458+
#: ../../c-api/gcsupport.rst:328
452459
msgid ""
453460
"If new objects are (de)allocated by the callback it is undefined if they "
454461
"will be visited."
455462
msgstr ""
456463

457-
#: ../../c-api/gcsupport.rst:327
464+
#: ../../c-api/gcsupport.rst:331
458465
msgid ""
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."
462469
msgstr ""
463470

464-
#: ../../c-api/gcsupport.rst:335
471+
#: ../../c-api/gcsupport.rst:339
465472
msgid ""
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

Comments
 (0)