File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 88.95 %" , "updated_at" : " 2023-08-13T01:56:41Z " }
1+ {"translation" : " 88.96 %" , "updated_at" : " 2023-08-13T02:42:32Z " }
Original file line number Diff line number Diff line change @@ -2476,6 +2476,12 @@ msgid ""
24762476" You can use :func:`importlib.util.spec_from_loader` to help in porting. "
24772477"(Contributed by Brett Cannon in :issue:`42134`.)"
24782478msgstr ""
2479+ "现在导入系统使用 :meth:`importlib.abc.MetaPathFinder.find_module` 和 "
2480+ ":meth:`importlib.abc.PathEntryFinder.find_module` 会引发 :exc:`ImportWarning` "
2481+ "而应分别改用 :meth:`importlib.abc.MetaPathFinder.find_spec` 和 "
2482+ ":meth:`importlib.abc.PathEntryFinder.find_spec`。 你可以使用 "
2483+ ":func:`importlib.util.spec_from_loader` 来帮助移植。 (由 Brett Cannon 在 "
2484+ ":issue:`42134` 中贡献。)"
24792485
24802486#: ../../whatsnew/3.10.rst:1656
24812487msgid ""
@@ -2485,6 +2491,10 @@ msgid ""
24852491":func:`importlib.util.spec_from_loader` to help in porting. (Contributed by "
24862492"Brett Cannon in :issue:`43672`.)"
24872493msgstr ""
2494+ "现在导入系统使用 :meth:`importlib.abc.PathEntryFinder.find_loader` 会引发 "
2495+ ":exc:`ImportWarning` 而应改用 :meth:`importlib.abc.PathEntryFinder.find_spec`。 "
2496+ "你可以使用 :func:`importlib.util.spec_from_loader` 来帮助移植。 (由 Brett Cannon 在 "
2497+ ":issue:`43672` 中贡献。)"
24882498
24892499#: ../../whatsnew/3.10.rst:1662
24902500msgid ""
You can’t perform that action at this time.
0 commit comments