File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -619,6 +619,8 @@ msgid ""
619619":data:`signal.SIG_DFL` or :data:`signal.SIG_IGN`), this function does "
620620"nothing."
621621msgstr ""
622+ "如果 Python 没有处理 :const:`signal.SIGINT` (将它设为 :data:`signal.SIG_DFL` 或 "
623+ ":data:`signal.SIG_IGN`),此函数将不做任何事。"
622624
623625#: ../../c-api/exceptions.rst:529
624626msgid ""
@@ -668,6 +670,8 @@ msgid ""
668670"can easily be given a docstring: If *doc* is non-``NULL``, it will be used "
669671"as the docstring for the exception class."
670672msgstr ""
673+ "和 :c:func:`PyErr_NewException` 一样,除了可以轻松地给新的异常类一个文档字符串:如果 *doc* "
674+ "属性非空,它将用作异常类的文档字符串。"
671675
672676#: ../../c-api/exceptions.rst:570
673677msgid "Exception Objects"
@@ -756,7 +760,7 @@ msgstr "返回给定异常对象的 *encoding* 属性"
756760
757761#: ../../c-api/exceptions.rst:649
758762msgid "Return the *object* attribute of the given exception object."
759- msgstr ""
763+ msgstr "返回给定异常对象的 *object* 属性 "
760764
761765#: ../../c-api/exceptions.rst:655
762766msgid ""
You can’t perform that action at this time.
0 commit comments