8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc915c commit f8394fcCopy full SHA for f8394fc
.stat.json
@@ -1 +1 @@
1
-{"translation": "91.60%", "updated_at": "2024-02-26T08:24:44Z"}
+{"translation": "91.61%", "updated_at": "2024-02-26T09:22:35Z"}
whatsnew/3.5.po
@@ -1860,6 +1860,9 @@ msgid ""
1860
"will set the various import-controlled attributes based on the passed-in "
1861
"spec object. (Contributed by Brett Cannon in :issue:`20383`.)"
1862
msgstr ""
1863
+"新增的 :func:`util.module_from_spec() <importlib.util.module_from_spec>` "
1864
+"函数现在是创建新模块的首先方式。 相比直接创建 :class:`types.ModuleType` "
1865
+"实例,这个新函数将基于传入的规格说明对象设置各种导入控制的属性。 (由 Brett Cannon 在 :issue:`20383` 中贡献。)"
1866
1867
#: ../../whatsnew/3.5.rst:1283
1868
msgid "inspect"
0 commit comments