Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a5ec84

Browse files
[po] auto sync
1 parent 2d987bd commit 2a5ec84

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

library/pkgutil.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,27 +195,29 @@ msgstr ""
195195
msgid ""
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
201201
msgid "If no module name is specified, all top level finders are produced."
202-
msgstr ""
202+
msgstr "如果未指定模块名称,则会产生所有的最高层级查找器。"
203203

204204
#: ../../library/pkgutil.rst:147
205205
msgid ""
206206
"Yields :class:`ModuleInfo` for all submodules on *path*, or, if *path* is "
207207
"``None``, all top-level modules on :data:`sys.path`."
208208
msgstr ""
209+
"为 *path* 上的所有子模块产生 :class:`ModuleInfo`,或者如果 *path* 为 ``None``,则为 "
210+
":data:`sys.path` 上的所有最高层级模块产生。"
209211

210212
#: ../../library/pkgutil.rst:150 ../../library/pkgutil.rst:171
211213
msgid ""
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
216218
msgid ""
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
221223
msgid ""
@@ -224,6 +226,9 @@ msgid ""
224226
"for :class:`importlib.machinery.FileFinder` and "
225227
":class:`zipimport.zipimporter`."
226228
msgstr ""
229+
"只适用于定义了 ``iter_modules()`` 方法的 :term:`finder`。 该接口是非标准的,因此本模块还提供了针对 "
230+
":class:`importlib.machinery.FileFinder` 和 :class:`zipimport.zipimporter` "
231+
"的实现。"
227232

228233
#: ../../library/pkgutil.rst:168
229234
msgid ""

0 commit comments

Comments
 (0)