Thanks to visit codestin.com Credit goes to github.com
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 5525131 commit ab1f490Copy full SHA for ab1f490
2 files changed
.stat.json
@@ -1 +1 @@
1
-{"translation": "90.99%", "updated_at": "2024-02-26T08:09:32Z"}
+{"translation": "90.99%", "updated_at": "2024-02-26T09:09:16Z"}
whatsnew/3.5.po
@@ -1861,6 +1861,9 @@ msgid ""
1861
"will set the various import-controlled attributes based on the passed-in "
1862
"spec object. (Contributed by Brett Cannon in :issue:`20383`.)"
1863
msgstr ""
1864
+"新增的 :func:`util.module_from_spec() <importlib.util.module_from_spec>` "
1865
+"函数现在是创建新模块的首先方式。 相比直接创建 :class:`types.ModuleType` "
1866
+"实例,这个新函数将基于传入的规格说明对象设置各种导入控制的属性。 (由 Brett Cannon 在 :issue:`20383` 中贡献。)"
1867
1868
#: ../../whatsnew/3.5.rst:1283
1869
msgid "inspect"
0 commit comments