Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e36c223

Browse files
[po] auto sync
1 parent d4a7c03 commit e36c223

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

c-api/sys.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ msgid ""
575575
"automatically the name of the current function, unless the "
576576
"``Py_LIMITED_API`` macro is defined."
577577
msgstr ""
578+
" ``Py_FatalError()`` 函数会被替换为一个将自动记录当前函数名称的宏,除非定义了 ``Py_LIMITED_API`` 宏。"
578579

579580
#: ../../c-api/sys.rst:397
580581
msgid "Log the function name automatically."
@@ -586,6 +587,8 @@ msgid ""
586587
" the standard C library function ``exit(status)``. If "
587588
":c:func:`Py_FinalizeEx` indicates an error, the exit status is set to 120."
588589
msgstr ""
590+
"退出当前进程。 这将调用 :c:func:`Py_FinalizeEx` 然后再调用标准 C 库函数 ``exit(status)``。 如果 "
591+
":c:func:`Py_FinalizeEx` 提示错误,退出状态将被设为 120。"
589592

590593
#: ../../c-api/sys.rst:411
591594
msgid "Errors from finalization no longer ignored."
@@ -602,3 +605,7 @@ msgid ""
602605
"finalization will have completed before the cleanup function, no Python APIs"
603606
" should be called by *func*."
604607
msgstr ""
608+
"注册一个由 :c:func:`Py_FinalizeEx` 调用的清理函数。 调用清理函数将不传入任何参数且不应返回任何值。 最多可以注册32 "
609+
"个清理函数。 当注册成功时,:c:func:`Py_AtExit` 将返回 ``0``;失败时,它将返回 ``-1``。 "
610+
"最后注册的清理函数会最先被调用。 每个清理函数将至多被调用一次。 由于 Python 的内部最终化将在清理函数之前完成,因此 Python API "
611+
"不应被 *func* 调用。"

0 commit comments

Comments
 (0)