@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-10-11 18:31 +0000\n "
14+ "POT-Creation-Date : 2026-10-29 19:20 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2026\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -292,7 +292,7 @@ msgid ""
292292"to *visit* being the contained object and the *arg* value passed to the "
293293"handler. The *visit* function must not be called with a ``NULL`` object "
294294"argument. If *visit* returns a non-zero value, that value should be "
295- "returned immediately."
295+ "returned immediately. Otherwise, return zero. "
296296msgstr ""
297297
298298msgid ""
@@ -379,6 +379,15 @@ msgid ""
379379"functions>` below."
380380msgstr ""
381381
382+ msgid ""
383+ "If an error occurs during traversal, ignore it and return 0. If "
384+ "``tp_traverse`` fails to visit some strong references, garbage reference "
385+ "cycles involving the skipped references will not be reliably broken, but "
386+ "correctness won't be affected. For example, if traversal requires a lock "
387+ "that cannot be acquired promptly, skip the traversal. The garbage collector "
388+ "will visit your object again in a future pass."
389+ msgstr ""
390+
382391msgid ""
383392"The :c:func:`Py_VISIT` call may be skipped for those members that provably "
384393"cannot participate in reference cycles. In the ``local_traverse`` example "
@@ -427,7 +436,7 @@ msgstr ""
427436
428437msgid ""
429438"#define Py_VISIT(o) \\ \n"
430- " if (op ) { \\ \n"
439+ " if (o ) { \\ \n"
431440" int visit_result = visit(o, arg); \\ \n"
432441" if (visit_result != 0) { \\ \n"
433442" return visit_result; \\ \n"
0 commit comments