99# Yi Cao <[email protected] >, 20211010# jsgang <[email protected] >, 20211111# ppcfish <[email protected] >, 202112- # Jiuh- star <[email protected] >, 202112+ # Jiuh. star <[email protected] >, 20211313# helloworldSB <[email protected] >, 202114141515# Dai Xu <[email protected] >, 2022@@ -25,7 +25,7 @@ msgid ""
2525msgstr ""
2626"Project-Id-Version : Python 3.12\n "
2727"Report-Msgid-Bugs-To : \n "
28- "POT-Creation-Date : 2024-02-16 14:13 +0000\n "
28+ "POT-Creation-Date : 2024-04-14 22:56 +0000\n "
2929"PO-Revision-Date : 2021-06-28 00:48+0000\n "
3030"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
3131"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -787,8 +787,8 @@ msgid ""
787787"if so, invokes the corresponding signal handler. If the :mod:`signal` "
788788"module is supported, this can invoke a signal handler written in Python."
789789msgstr ""
790- "如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理句柄 。 如果支持 "
791- ":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理句柄 。"
790+ "如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理器 。 如果支持 "
791+ ":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理器 。"
792792
793793#: ../../c-api/exceptions.rst:635
794794msgid ""
@@ -798,8 +798,8 @@ msgid ""
798798"other pending signals may not have been handled yet: they will be on the "
799799"next :c:func:`PyErr_CheckSignals()` invocation)."
800800msgstr ""
801- "该函数会尝试处理所有待处理信号,然后返回 ``0``。 但是,如果 Python 信号处理句柄引发了异常 ,则设置错误指示符并且函数将立即返回 "
802- "``-1`` (这样其他待处理信号可能还没有被处理:它们将在下次发起调用 :c:func:`PyErr_CheckSignals()` 时被处理)。"
801+ "该函数会尝试处理所有待处理信号,然后返回 ``0``。 但是,如果 Python 信号处理器引发了异常 ,则设置错误指示符并且函数将立即返回 ``-1`` "
802+ " (这样其他待处理信号可能还没有被处理:它们将在下次发起调用 :c:func:`PyErr_CheckSignals()` 时被处理)。"
803803
804804#: ../../c-api/exceptions.rst:641
805805msgid ""
@@ -818,7 +818,7 @@ msgid ""
818818"The default Python signal handler for :c:macro:`!SIGINT` raises the "
819819":exc:`KeyboardInterrupt` exception."
820820msgstr ""
821- "针对 :c:macro:`!SIGINT` 的默认 Python 信号处理句柄会引发 :exc:`KeyboardInterrupt` 异常。"
821+ "针对 :c:macro:`!SIGINT` 的默认 Python 信号处理器会引发 :exc:`KeyboardInterrupt` 异常。"
822822
823823#: ../../c-api/exceptions.rst:659
824824msgid ""
@@ -831,7 +831,7 @@ msgstr ""
831831msgid ""
832832"This function is async-signal-safe. It can be called without the "
833833":term:`GIL` and from a C signal handler."
834- msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理句柄来调用 。"
834+ msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理器来调用 。"
835835
836836#: ../../c-api/exceptions.rst:673
837837msgid ""
@@ -840,7 +840,7 @@ msgid ""
840840"given signal number will be called."
841841msgstr ""
842842"模拟一个信号到达的效果。 当下次 :c:func:`PyErr_CheckSignals` 被调用时,将会调用针对指定的信号编号的 Python "
843- "信号处理句柄 。"
843+ "信号处理器 。"
844844
845845#: ../../c-api/exceptions.rst:677
846846msgid ""
@@ -849,7 +849,7 @@ msgid ""
849849"interruption is requested (for example when the user presses Ctrl-C to "
850850"interrupt an operation)."
851851msgstr ""
852- "此函数可由自行设置信号处理,并希望 Python 信号处理句柄会在请求中断时 (例如当用户按下 Ctrl-C 来中断操作时)按照预期被发起调用的 C "
852+ "此函数可由自行设置信号处理,并希望 Python 信号处理器会在请求中断时 (例如当用户按下 Ctrl-C 来中断操作时)按照预期被发起调用的 C "
853853"代码来调用。"
854854
855855#: ../../c-api/exceptions.rst:682
0 commit comments