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

Skip to content

Commit 7f5861e

Browse files
[po] auto sync
1 parent f2634fb commit 7f5861e

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

library/os.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4488,17 +4488,17 @@ msgstr ":func:`waitid` 函数的 *idtype* 参数的可取值。它们影响 *id*
44884488
msgid ""
44894489
"Flags that can be used in *options* in :func:`waitid` that specify what "
44904490
"child signal to wait for."
4491-
msgstr ""
4491+
msgstr "用于 :func:`waitid` 的 *options* 参数的标志位,指定要等待的子进程信号。"
44924492

44934493
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3673
44944494
msgid ""
44954495
"These are the possible values for :attr:`si_code` in the result returned by "
44964496
":func:`waitid`."
4497-
msgstr ""
4497+
msgstr ":func:`waitid` 返回的结果中,:attr:`si_code` 的可取值。"
44984498

44994499
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3683
45004500
msgid "The details of this function differ on Unix and Windows."
4501-
msgstr ""
4501+
msgstr "本函数的细节在 Unix 和 Windows 上有不同之处。"
45024502

45034503
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3685
45044504
msgid ""
@@ -4508,6 +4508,8 @@ msgid ""
45084508
"the value of the integer *options*, which should be ``0`` for normal "
45094509
"operation."
45104510
msgstr ""
4511+
"在 Unix 上:等待进程号为 *pid* 的子进程执行完毕,返回一个元组,内含其进程 ID 和退出状态指示(编码与 :func:`wait` "
4512+
"相同)。调用的语义受整数 *options* 的影响,常规操作下该值应为 ``0``。"
45114513

45124514
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3690
45134515
msgid ""
@@ -4518,12 +4520,15 @@ msgid ""
45184520
"is less than ``-1``, status is requested for any process in the process "
45194521
"group ``-pid`` (the absolute value of *pid*)."
45204522
msgstr ""
4523+
"如果 *pid* 大于 ``0``,则 :func:`waitpid` 会获取该指定进程的状态信息。如果 *pid* 为 "
4524+
"``0``,则获取当前进程所在进程组中的所有子进程的状态。如果 *pid* 为 ``-1``,则获取当前进程的子进程状态。如果 *pid* 小于 "
4525+
"``-1``,则获取进程组 ``-pid`` ( *pid* 的绝对值)中所有进程的状态。"
45214526

45224527
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3697
45234528
msgid ""
45244529
"An :exc:`OSError` is raised with the value of errno when the syscall returns"
45254530
" -1."
4526-
msgstr ""
4531+
msgstr "当系统调用返回 -1 时,将抛出带有错误码的 :exc:`OSError` 异常。"
45274532

45284533
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3700
45294534
msgid ""

0 commit comments

Comments
 (0)