File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,26 +102,28 @@ msgid ""
102102"searches the current :data:`sys.path`, plus any modules that are frozen or "
103103"built-in."
104104msgstr ""
105+ "如果 *dirname* 是一个字符串,将创建一个 :pep:`302` 查找器来搜索该目录。 如果 *dirname* 为 "
106+ "``None``,则将创建一个 :pep:`302` 来搜索当前 :data:`sys.path`,加上任何已冻结或内置的模块。"
105107
106108#: ../../library/pkgutil.rst:61
107109msgid ""
108110"Note that :class:`ImpImporter` does not currently support being used by "
109111"placement on :data:`sys.meta_path`."
110- msgstr ""
112+ msgstr "请注意 :class:`ImpImporter` 目前并不支持放置在 :data:`sys.meta_path` 上使用。 "
111113
112114#: ../../library/pkgutil.rst:64 ../../library/pkgutil.rst:73
113115msgid ""
114116"This emulation is no longer needed, as the standard import mechanism is now "
115117"fully :pep:`302` compliant and available in :mod:`importlib`."
116- msgstr ""
118+ msgstr "这种模拟已不再必要,因为标准的导入机制现在完全兼容 :pep:`302` 并且在 :mod:`importlib` 中可用。 "
117119
118120#: ../../library/pkgutil.rst:71
119121msgid ":term:`Loader <loader>` that wraps Python's \" classic\" import algorithm."
120- msgstr ""
122+ msgstr "包装了 Python 的 \" 经典 \" 导入算法的 :term:`加载器 <loader>`。 "
121123
122124#: ../../library/pkgutil.rst:80
123125msgid "Retrieve a module :term:`loader` for the given *fullname*."
124- msgstr ""
126+ msgstr "为给定的 *fullname* 获取一个模块 :term:`loader`。 "
125127
126128#: ../../library/pkgutil.rst:82
127129msgid ""
You can’t perform that action at this time.
0 commit comments