@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-12-07 14:13 +0000\n "
14+ "POT-Creation-Date : 2025-12-09 14:17 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -373,6 +373,13 @@ msgstr ""
373373
374374#: ../../c-api/gcsupport.rst:235
375375msgid ""
376+ "The traversal function must not have any side effects. Implementations may "
377+ "not modify the reference counts of any Python objects nor create or destroy "
378+ "any Python objects."
379+ msgstr ""
380+
381+ #: ../../c-api/gcsupport.rst:239
382+ msgid ""
376383"To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a :c:"
377384"func:`Py_VISIT` macro is provided. In order to use this macro, the :c:"
378385"member:`~PyTypeObject.tp_traverse` implementation must name its arguments "
@@ -383,15 +390,15 @@ msgstr ""
383390"`~PyTypeObject.tp_traverse` の実装関数の引数は、一文字も違わず *visit* と "
384391"*arg* でなければなりません:"
385392
386- #: ../../c-api/gcsupport.rst:242
393+ #: ../../c-api/gcsupport.rst:246
387394msgid ""
388395"If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, "
389396"with arguments *o* and *arg*. If *visit* returns a non-zero value, then "
390397"return it. Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers "
391398"look like::"
392399msgstr ""
393400
394- #: ../../c-api/gcsupport.rst:247
401+ #: ../../c-api/gcsupport.rst:251
395402msgid ""
396403"static int\n"
397404"my_traverse(Noddy *self, visitproc visit, void *arg)\n"
@@ -402,15 +409,15 @@ msgid ""
402409"}"
403410msgstr ""
404411
405- #: ../../c-api/gcsupport.rst:255
412+ #: ../../c-api/gcsupport.rst:259
406413msgid ""
407414"The :c:member:`~PyTypeObject.tp_clear` handler must be of the :c:type:"
408415"`inquiry` type, or ``NULL`` if the object is immutable."
409416msgstr ""
410417":c:member:`~PyTypeObject.tp_clear` ハンドラは :c:type:`inquiry` 型であるか、"
411418"オブジェクトが不変 (immutable) な場合は ``NULL`` でなければなりません。"
412419
413- #: ../../c-api/gcsupport.rst:261
420+ #: ../../c-api/gcsupport.rst:265
414421msgid ""
415422"Drop references that may have created reference cycles. Immutable objects "
416423"do not have to define this method since they can never directly create "
@@ -426,78 +433,78 @@ msgstr ""
426433"ください)。ガベージコレクタは、オブジェクトが循環参照を形成していることを検出"
427434"した際にこのメソッドを呼び出します。"
428435
429- #: ../../c-api/gcsupport.rst:270
436+ #: ../../c-api/gcsupport.rst:274
430437msgid "Controlling the Garbage Collector State"
431438msgstr ""
432439
433- #: ../../c-api/gcsupport.rst:272
440+ #: ../../c-api/gcsupport.rst:276
434441msgid ""
435442"The C-API provides the following functions for controlling garbage "
436443"collection runs."
437444msgstr ""
438445
439- #: ../../c-api/gcsupport.rst:277
446+ #: ../../c-api/gcsupport.rst:281
440447msgid ""
441448"Perform a full garbage collection, if the garbage collector is enabled. "
442449"(Note that :func:`gc.collect` runs it unconditionally.)"
443450msgstr ""
444451
445- #: ../../c-api/gcsupport.rst:280
452+ #: ../../c-api/gcsupport.rst:284
446453msgid ""
447454"Returns the number of collected + unreachable objects which cannot be "
448455"collected. If the garbage collector is disabled or already collecting, "
449456"returns ``0`` immediately. Errors during garbage collection are passed to :"
450457"data:`sys.unraisablehook`. This function does not raise exceptions."
451458msgstr ""
452459
453- #: ../../c-api/gcsupport.rst:290
460+ #: ../../c-api/gcsupport.rst:294
454461msgid ""
455462"Enable the garbage collector: similar to :func:`gc.enable`. Returns the "
456463"previous state, 0 for disabled and 1 for enabled."
457464msgstr ""
458465
459- #: ../../c-api/gcsupport.rst:298
466+ #: ../../c-api/gcsupport.rst:302
460467msgid ""
461468"Disable the garbage collector: similar to :func:`gc.disable`. Returns the "
462469"previous state, 0 for disabled and 1 for enabled."
463470msgstr ""
464471
465- #: ../../c-api/gcsupport.rst:306
472+ #: ../../c-api/gcsupport.rst:310
466473msgid ""
467474"Query the state of the garbage collector: similar to :func:`gc.isenabled`. "
468475"Returns the current state, 0 for disabled and 1 for enabled."
469476msgstr ""
470477
471- #: ../../c-api/gcsupport.rst:313
478+ #: ../../c-api/gcsupport.rst:317
472479msgid "Querying Garbage Collector State"
473480msgstr ""
474481
475- #: ../../c-api/gcsupport.rst:315
482+ #: ../../c-api/gcsupport.rst:319
476483msgid ""
477484"The C-API provides the following interface for querying information about "
478485"the garbage collector."
479486msgstr ""
480487
481- #: ../../c-api/gcsupport.rst:320
488+ #: ../../c-api/gcsupport.rst:324
482489msgid ""
483490"Run supplied *callback* on all live GC-capable objects. *arg* is passed "
484491"through to all invocations of *callback*."
485492msgstr ""
486493
487- #: ../../c-api/gcsupport.rst:324
494+ #: ../../c-api/gcsupport.rst:328
488495msgid ""
489496"If new objects are (de)allocated by the callback it is undefined if they "
490497"will be visited."
491498msgstr ""
492499
493- #: ../../c-api/gcsupport.rst:327
500+ #: ../../c-api/gcsupport.rst:331
494501msgid ""
495502"Garbage collection is disabled during operation. Explicitly running a "
496503"collection in the callback may lead to undefined behaviour e.g. visiting the "
497504"same objects multiple times or not at all."
498505msgstr ""
499506
500- #: ../../c-api/gcsupport.rst:335
507+ #: ../../c-api/gcsupport.rst:339
501508msgid ""
502509"Type of the visitor function to be passed to :c:func:"
503510"`PyUnstable_GC_VisitObjects`. *arg* is the same as the *arg* passed to "
0 commit comments