@@ -195,27 +195,29 @@ msgstr ""
195195msgid ""
196196"If the named module is in a package, that package is imported as a side "
197197"effect of invoking this function."
198- msgstr ""
198+ msgstr "如果指定的模块位于一个包内,则该包会作为发起调用此函数的附带影响被导入。 "
199199
200200#: ../../library/pkgutil.rst:138
201201msgid "If no module name is specified, all top level finders are produced."
202- msgstr ""
202+ msgstr "如果未指定模块名称,则会产生所有的最高层级查找器。 "
203203
204204#: ../../library/pkgutil.rst:147
205205msgid ""
206206"Yields :class:`ModuleInfo` for all submodules on *path*, or, if *path* is "
207207"``None``, all top-level modules on :data:`sys.path`."
208208msgstr ""
209+ "为 *path* 上的所有子模块产生 :class:`ModuleInfo`,或者如果 *path* 为 ``None``,则为 "
210+ ":data:`sys.path` 上的所有最高层级模块产生。"
209211
210212#: ../../library/pkgutil.rst:150 ../../library/pkgutil.rst:171
211213msgid ""
212214"*path* should be either ``None`` or a list of paths to look for modules in."
213- msgstr ""
215+ msgstr "*path* 应当为 ``None`` 或一个作为查找模块目标的路径的列表。 "
214216
215217#: ../../library/pkgutil.rst:152 ../../library/pkgutil.rst:173
216218msgid ""
217219"*prefix* is a string to output on the front of every module name on output."
218- msgstr ""
220+ msgstr "*prefix* 是要在输出时输出到每个模块名称之前的字符串。 "
219221
220222#: ../../library/pkgutil.rst:156 ../../library/pkgutil.rst:195
221223msgid ""
@@ -224,6 +226,9 @@ msgid ""
224226"for :class:`importlib.machinery.FileFinder` and "
225227":class:`zipimport.zipimporter`."
226228msgstr ""
229+ "只适用于定义了 ``iter_modules()`` 方法的 :term:`finder`。 该接口是非标准的,因此本模块还提供了针对 "
230+ ":class:`importlib.machinery.FileFinder` 和 :class:`zipimport.zipimporter` "
231+ "的实现。"
227232
228233#: ../../library/pkgutil.rst:168
229234msgid ""
0 commit comments