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

Skip to content

Commit 8c4d1a5

Browse files
[po] auto sync
1 parent 9c24bab commit 8c4d1a5

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

library/os.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4515,6 +4515,8 @@ msgid ""
45154515
"Windows, the ``close`` method result is directly the exit code (or "
45164516
"``None``)."
45174517
msgstr ""
4518+
"在 Unix 上,:func:`waitstatus_to_exitcode` 可以将 ``close`` 方法的返回值(即退出状态,不能是 "
4519+
"``None``)转换为退出码。在 Windows 上,``close`` 方法的结果直接就是退出码(或 ``None`` )。"
45184520

45194521
#: ../../library/os.rst:3675
45204522
msgid ""
@@ -4996,6 +4998,8 @@ msgid ""
49964998
"(exit status) into an exit code. On Windows, the result is directly the exit"
49974999
" code."
49985000
msgstr ""
5001+
"在 Unix 上,:func:`waitstatus_to_exitcode` 可以将返回值(即退出状态)转换为退出码。在 Windows "
5002+
"上,返回值就是退出码。"
49995003

50005004
#: ../../library/os.rst:3983
50015005
msgid ""
@@ -5074,7 +5078,7 @@ msgstr "可以使用 :func:`waitstatus_to_exitcode` 来将退出状态转换为
50745078
msgid ""
50755079
":func:`waitpid` can be used to wait for the completion of a specific child "
50765080
"process and has more options."
5077-
msgstr ""
5081+
msgstr ":func:`waitpid` 可以等待特定的子进程执行完毕,且支持更多选项。"
50785082

50795083
#: ../../library/os.rst:4034
50805084
msgid ""
@@ -5106,7 +5110,7 @@ msgstr ":func:`waitid` 的 *idtype* 参数的可取值。它们影响 *id* 的
51065110
msgid ""
51075111
"This is a Linux-specific *idtype* that indicates that *id* is a file "
51085112
"descriptor that refers to a process."
5109-
msgstr ""
5113+
msgstr "这是仅 Linux 上存在的一种 *idtype*,它表示 *id* 是指向一个进程的文件描述符。"
51105114

51115115
#: ../../library/os.rst:4067
51125116
msgid ":ref:`Availability <availability>`: Linux 5.4+"
@@ -5126,7 +5130,7 @@ msgstr ":func:`waitid` 返回的结果中,:attr:`si_code` 的可取值。"
51265130

51275131
#: ../../library/os.rst:4096
51285132
msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values."
5129-
msgstr ""
5133+
msgstr "添加了 :data:`CLD_KILLED` 和 :data:`CLD_STOPPED` 值。"
51305134

51315135
#: ../../library/os.rst:4102
51325136
msgid "The details of this function differ on Unix and Windows."
@@ -5196,7 +5200,7 @@ msgstr ""
51965200
msgid ""
51975201
":func:`waitstatus_to_exitcode` can be used to convert the exit status into "
51985202
"an exitcode."
5199-
msgstr ""
5203+
msgstr "可以使用 :func:`waitstatus_to_exitcode` 来将退出状态转换为退出码。"
52005204

52015205
#: ../../library/os.rst:4153
52025206
msgid ""
@@ -5212,7 +5216,7 @@ msgstr ""
52125216

52135217
#: ../../library/os.rst:4167
52145218
msgid "Convert a wait status to an exit code."
5215-
msgstr ""
5219+
msgstr "将等待状态转换为退出码。"
52165220

52175221
#: ../../library/os.rst:4169
52185222
msgid "On Unix:"

0 commit comments

Comments
 (0)