8000 [po] auto sync · python/python-docs-zh-cn@026d8bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 026d8bf

Browse files
[po] auto sync
1 parent 9e11d03 commit 026d8bf

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.66%", "updated_at": "2024-03-20T04:09:30Z"}
1+
{"translation": "91.67%", "updated_at": "2024-03-20T06:09:48Z"}

whatsnew/3.4.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,10 @@ msgid ""
14601460
"equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. "
14611461
"(Contributed by Eric Snow and Brett Cannon in :issue:`15627`.)"
14621462
msgstr ""
1463+
":class:`~importlib.abc.InspectLoader` ABC 定义了一个新方法 "
1464+
":meth:`~importlib.abc.InspectLoader.source_to_code`,它接受源数据和一个路径并返回一个代码对象。 "
1465+
"其默认实现等价于 ``compile(data, path, 'exec', dont_inherit=True)``。 (由 Eric Snow 和 "
1466+
"Brett Cannon 在 :issue:`15627` 中贡献。)"
14631467

14641468
#: ../../whatsnew/3.4.rst:989
14651469
msgid ""
@@ -1468,6 +1472,9 @@ msgid ""
14681472
"will normally be desirable to override the default implementation for "
14691473
"performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)"
14701474
msgstr ""
1475+
"现在 :class:`~importlib.abc.InspectLoader` 也具有 "
1476+
":meth:`~importlib.abc.InspectLoader.get_code` 方法的默认实现。 不过,出于性能原因通常需要重写默认实现。 "
1477+
"(由 Brett Cannon 在 :issue:`18072` 中贡献。)"
14711478

14721479
#: ../../whatsnew/3.4.rst:994
14731480
msgid ""
@@ -1866,6 +1873,8 @@ msgid ""
18661873
":func:`pty.spawn` now returns the status value from :func:`os.waitpid` on "
18671874
"the child process, instead of ``None``. (Contributed by Gregory P. Smith.)"
18681875
msgstr ""
1876+
"现在 :func:`pty.spawn` 将返回来自子进程上 :func:`os.waitpid` 的状态值,而不是 ``None``。 (由 "
1877+
"Gregory P. Smith 贡献。)"
18691878

18701879
#: ../../whatsnew/3.4.rst:1278
18711880
msgid "pydoc"
@@ -1880,6 +1889,9 @@ msgid ""
18801889
"displaying help information. (Contributed by Larry Hastings in "
18811890
":issue:`19674`.)"
9093
18821891
msgstr ""
1892+
"现在 :mod:`pydoc` 模块是直接基于 :func:`inspect.signature` 内省 API,这允许它提供更多可调用对象的签名信息。"
1893+
" 这一改变也意味着现在当显示帮助信息时 ``__wrapped__`` 属性也会被纳入考虑。 (由 Larry Hastings 在 "
1894+
":issue:`19674` 中贡献。)"
18831895

18841896
#: ../../whatsnew/3.4.rst:1286
18851897
msgid ""
@@ -1888,6 +1900,8 @@ msgid ""
18881900
"signature of the supplied callable. (Contributed by Larry Hastings in "
18891901
":issue:`20710`.)"
18901902
msgstr ""
1903+
":mod:`pydoc` 模块将不再显示已绑定方法的 ``self`` 形参。 现在,它总是会显示所提供可调用对象实际的当前签名。 (由 Larry "
1904+
"Hastings 在 :issue:`20710` 中贡献。)"
18911905

18921906
#: ../../whatsnew/3.4.rst:1291
18931907
msgid ""

0 commit comments

Comments
 (0)
0