10000 [po] auto sync · python/python-docs-zh-cn@05699ed · GitHub
[go: up one dir, main page]

Skip to content

Commit 05699ed

Browse files
[po] auto sync
1 parent 199609a commit 05699ed

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.07%", "updated_at": "2024-03-14T03:22:30Z"}
1+
{"translation": "92.07%", "updated_at": "2024-03-14T06:24:51Z"}

whatsnew/3.5.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3874,6 +3874,12 @@ msgid ""
38743874
"do, else simply define :meth:`~importlib.machinery.Loader.create_module` to "
38753875
"return ``None``. (Contributed by Brett Cannon in :issue:`23014`.)"
38763876
msgstr ""
3877+
"现在当一个导入加载器定义了 :meth:`importlib.machinery.Loader.exec_module` 时它也应该定义 "
3878+
":meth:`~importlib.machinery.Loader.create_module` (现在会引发 "
3879+
":exc:`DeprecationWarning`,在 Python 3.6 中将引发错误)。 如果加载器是继承自 "
3880+
":class:`importlib.abc.Loader` 那么就不需要做什么,在其他情况下只须定义 "
3881+
":meth:`~importlib.machinery.Loader.create_module` 来返回 ``None``。 (由 Brett "
3882+
"Cannon 在 :issue:`23014` 中贡献。)"
38773883

38783884
#: ../../whatsnew/3.5.rst:2450
38793885
msgid ""

0 commit comments

Comments
 (0)
0