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

Skip to content

Commit f2634fb

Browse files
[po] auto sync
1 parent 0dddea3 commit f2634fb

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

library/os.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4456,6 +4456,8 @@ msgid ""
44564456
"status (if the signal number is zero); the high bit of the low byte is set "
44574457
"if a core file was produced."
44584458
msgstr ""
4459+
"等待子进程执行完毕,返回一个元组,包含其 pid 和退出状态指示:一个 16 "
4460+
"位数字,其低字节是终止该进程的信号编号,高字节是退出状态码(信号编号为零的情况下),如果生成了核心文件,则低字节的高位会置位。"
44594461

44604462
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3630
44614463
msgid ""
@@ -4469,12 +4471,18 @@ msgid ""
44694471
":attr:`si_status`, :attr:`si_code` or ``None`` if :data:`WNOHANG` is "
44704472
"specified and there are no children in a waitable state."
44714473
msgstr ""
4474+
"等待一个或多个子进程执行完毕。*idtype* 可以是 :data:`P_PID`、:data:`P_PGID` 或 "
4475+
":data:`P_ALL`。*id* 指定要等待的 pid。*options* 是由 :data:`WEXITED`、:data:`WSTOPPED` "
4476+
"或 :data:`WCONTINUED` 中的一个或多个进行或运算构造的,且额外可以与 :data:`WNOHANG` 或 "
4477+
":data:`WNOWAIT` 进行或运算。返回值是一个对象,对应着 :c:type:`siginfo_t` 结构体中的数据,即: "
4478+
":attr:`si_pid`, :attr:`si_uid`, :attr:`si_signo`, :attr:`si_status`, "
4479+
":attr:`si_code` 或 ``None`` (如果指定了 :data:`WNOHANG` 且没有子进程处于等待状态)。"
44724480

44734481
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3649
44744482
msgid ""
44754483
"These are the possible values for *idtype* in :func:`waitid`. They affect "
44764484
"how *id* is interpreted."
4477-
msgstr ""
4485+
msgstr ":func:`waitid` 函数的 *idtype* 参数的可取值。它们影响 *id* 的解释方式。"
44784486

44794487
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3660
44804488
msgid ""

0 commit comments

Comments
 (0)