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 75bbb59 commit 779f0d5Copy full SHA for 779f0d5
1 file changed
library/imp.po
@@ -65,10 +65,14 @@ msgid ""
65
":const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described"
66
" below."
67
msgstr ""
68
+"返回一个 3 元素元组的列表,每个元组描述了一个特定的模块类型。 每个三元组的形式为 ``(suffix, mode, type)``,其中 "
69
+"*suffix* 是要附加到模块名称上以组成要搜索的文件名的字符串,*mode* 是要传给内置 :func:`open` 函数以打开该文件的模式字符串 "
70
+"(可以为针对文本文件的 ``'r'`` 或针对二进制文件的 ``'rb'``),而 *type* 是文件类型,它的值为 "
71
+":const:`PY_SOURCE`, :const:`PY_COMPILED` 之一 :const:`C_EXTENSION`,具体说明如下。"
72
73
#: ../../library/imp.rst:43
74
msgid "Use the constants defined on :mod:`importlib.machinery` instead."
-msgstr ""
75
+msgstr "改用在 :mod:`importlib.machinery` 上定义的常量。"
76
77
#: ../../library/imp.rst:49
78
msgid ""
0 commit comments