77# cdarlint <[email protected] >, 202088# Menghua Xiao <[email protected] >, 202099# Meng Du <[email protected] >, 202010- # Freesand Leo <[email protected] >, 2020 10+ # Freesand Leo <[email protected] >, 2021 1111#
1212#, fuzzy
1313msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616"Report-Msgid-Bugs-To : \n "
1717"POT-Creation-Date : 2020-12-20 15:58+0000\n "
1818"PO-Revision-Date : 2020-05-30 12:09+0000\n "
19- "
Last-Translator :
Freesand Leo <[email protected] >, 2020 \n "
19+ "
Last-Translator :
Freesand Leo <[email protected] >, 2021 \n "
2020"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2121"MIME-Version : 1.0\n "
2222"Content-Type : text/plain; charset=UTF-8\n "
@@ -447,76 +447,83 @@ msgid ""
447447"attribute of :class:`threading.Thread` objects to get a suitable value for "
448448"*thread_id*."
449449msgstr ""
450+ "使用 :func:`threading.get_ident()` 或 :class:`threading.Thread` 对象的 "
451+ ":attr:`~threading.Thread.ident` 属性为 *thread_id* 获取合适的值。"
450452
451453#: ../../library/signal.rst:368
452454msgid ""
453455"If *signalnum* is 0, then no signal is sent, but error checking is still "
454456"performed; this can be used to check if the target thread is still running."
455- msgstr ""
457+ msgstr "如果 *signalnum* 为 0,则不会发送信号,但仍然会执行错误检测;这可被用来检测目标线程是否仍在运行。 "
456458
457459#: ../../library/signal.rst:372
458460msgid ""
459461"Raises an :ref:`auditing event <auditing>` ``signal.pthread_kill`` with "
460462"arguments ``thread_id``, ``signalnum``."
461463msgstr ""
464+ "引发一个 :ref:`审计事件 <auditing>` ``signal.pthread_kill``,附带参数 ``thread_id``, "
465+ "``signalnum``。"
462466
463467#: ../../library/signal.rst:375
464468msgid ""
465469":ref:`Availability <availability>`: Unix. See the man page "
466470":manpage:`pthread_kill(3)` for further information."
467471msgstr ""
472+ ":ref:`可用性 <availability>`: Unix。 更多信息请参见手册页面 :manpage:`pthread_kill(3)`。"
468473
469474#: ../../library/signal.rst:376
470475msgid "See also :func:`os.kill`."
471- msgstr ""
476+ msgstr "另请参阅 :func:`os.kill`。 "
472477
473478#: ../../library/signal.rst:383
474479msgid ""
475480"Fetch and/or change the signal mask of the calling thread. The signal mask "
476481"is the set of signals whose delivery is currently blocked for the caller. "
477482"Return the old signal mask as a set of signals."
478- msgstr ""
483+ msgstr "获取和/或修改调用方线程的信号掩码。 信号掩码是一组传送过程目前为调用者而阻塞的信号集。 返回旧的信号掩码作为一组信号。 "
479484
480485#: ../../library/signal.rst:387
481486msgid ""
482487"The behavior of the call is dependent on the value of *how*, as follows."
483- msgstr ""
488+ msgstr "该调用的行为取决于 *how* 的值,具体见下。 "
484489
485490#: ../../library/signal.rst:389
486491msgid ""
487492":data:`SIG_BLOCK`: The set of blocked signals is the union of the current "
488493"set and the *mask* argument."
489- msgstr ""
494+ msgstr ":data:`SIG_BLOCK`: 被阻塞的信号集是当前集与 *mask* 参数的并集。 "
490495
491496#: ../../library/signal.rst:391
492497msgid ""
493498":data:`SIG_UNBLOCK`: The signals in *mask* are removed from the current set "
494499"of blocked signals. It is permissible to attempt to unblock a signal which "
495500"is not blocked."
496- msgstr ""
501+ msgstr ":data:`SIG_UNBLOCK`: *mask* 中的信号会从当前已阻塞信号集中被移除。 允许尝试取消对一个非阻塞信号的阻塞。 "
497502
498503#: ../../library/signal.rst:394
499504msgid ""
500505":data:`SIG_SETMASK`: The set of blocked signals is set to the *mask* "
501506"argument."
502- msgstr ""
507+ msgstr ":data:`SIG_SETMASK`: 已阻塞信号集会被设为 *mask* 参数的值。 "
503508
504509#: ../../library/signal.rst:397
505510msgid ""
506511"*mask* is a set of signal numbers (e.g. {:const:`signal.SIGINT`, "
507512":const:`signal.SIGTERM`}). Use :func:`~signal.valid_signals` for a full mask"
508513" including all signals."
509514msgstr ""
515+ "*mask* 是一个信号编号集合 (例如 {:const:`signal.SIGINT`, :const:`signal.SIGTERM`})。 请使用"
516+ " :func:`~signal.valid_signals` 表示包含所有信号的完全掩码。"
510517
511518#: ../../library/signal.rst:401
512519msgid ""
513520"For example, ``signal.pthread_sigmask(signal.SIG_BLOCK, [])`` reads the "
514521"signal mask of the calling thread."
515- msgstr ""
522+ msgstr "例如,``signal.pthread_sigmask(signal.SIG_BLOCK, [])`` 会读取调用方线程的信号掩码。 "
516523
517524#: ../../library/signal.rst:404
518525msgid ":data:`SIGKILL` and :data:`SIGSTOP` cannot be blocked."
519- msgstr ""
526+ msgstr ":data:`SIGKILL` 和 :data:`SIGSTOP` 不能被阻塞。 "
520527
521528#: ../../library/signal.rst:408
522529msgid ""
0 commit comments