Skip to content

Commit 3748078

Browse files
[po] auto sync
1 parent 3168965 commit 3748078

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.79%", "updated_at": "2024-04-25T03:22:43Z"}
1+
{"translation": "92.80%", "updated_at": "2024-04-26T03:23:53Z"}

whatsnew/3.4.po

+13
Original file line numberDiff line numberDiff line change
@@ -1897,6 +1897,10 @@ msgid ""
18971897
" and explicit relative imports could cause obscure failures in child "
18981898
"processes. (Contributed by Nick Coghlan in :issue:`19946`.)"
18991899
msgstr ""
1900+
"现在当使用 ``spawn`` 或 ``forkserver`` 启动方法时 :mod:`multiprocessing` 依赖于 "
1901+
":mod:`runpy` (它实现了 ``-m`` 开关) 在子进程中正确地初始化 ``__main__``。 "
1902+
"这解决了一些合并多进程操作中,``-m`` 命令行开关和显式相对导入可能在子进程中导致失败的边缘场景问题。 (由 Nick Coghlan 在 "
1903+
":issue:`19946` 中贡献。)"
19001904

19011905
#: ../../whatsnew/3.4.rst:1158
19021906
msgid "operator"
@@ -1909,13 +1913,18 @@ msgid ""
19091913
"should be used, as part of the :pep:`424` formal specification of this "
19101914
"language feature. (Contributed by Armin Ronacher in :issue:`16148`.)"
19111915
msgstr ""
1916+
"新增的函数 :func:`~operator.length_hint` 提供了应当如何使用 "
1917+
":meth:`~object.__length_hint__` 特殊方法的规范实现,作为该语言特性的 :pep:`424` 正式规范说明的一部分。 (由"
1918+
" Armin Ronacher 在 :issue:`16148` 中贡献。)"
19121919

19131920
#: ../../whatsnew/3.4.rst:1165
19141921
msgid ""
19151922
"There is now a pure-python version of the :mod:`operator` module available "
19161923
"for reference and for use by alternate implementations of Python. "
19171924
"(Contributed by Zachary Ware in :issue:`16694`.)"
19181925
msgstr ""
1926+
"现在提供了一个纯 Python 版本的 :mod:`operator` 模块,可用于参考并由 Python 的其他实现使用。 (由 Zachary "
1927+
"Ware 在 :issue:`16694` 中贡献。)"
19191928

19201929
#: ../../whatsnew/3.4.rst:1171
19211930
msgid "os"
@@ -1941,6 +1950,10 @@ msgid ""
19411950
"Yogesh Chaudhari, Victor Stinner, and Charles-François Natali in "
19421951
":issue:`17914`.)"
19431952
msgstr ""
1953+
"新增函数 :func:`~os.cpu_count` 可报告 Python 运行所在平台上可用 CPU 的数量 (如果无法确定数量则为 "
1954+
"``None``)。 现在 :func:`multiprocessing.cpu_count` 函数是根据此函数实现的。 (由 Trent "
1955+
"Nelson, Yogesh Chaudhari, Victor Stinner 和 Charles-François Natali 在 "
1956+
":issue:`17914` 中贡献。)"
19441957

19451958
#: ../../whatsnew/3.4.rst:1184
19461959
msgid ""

0 commit comments

Comments
 (0)