@@ -98,8 +98,8 @@ msgid ""
9898"only the *first* time the module name is encountered in an import statement."
9999" [#]_ (They are also run if the file is executed as a script.)"
100100msgstr ""
101- "模块可以包含可执行的语句以及函数定义。这些语句用于初始化模块。它们仅在模块 *第一次* 被import语句中导入时才执行。 "
102- "[#]_( 当文件被当作脚本运行时,它们也会执行。) "
101+ "模块可以包含可执行的语句以及函数定义。这些语句用于初始化模块。它们仅在模块 *第一次* 在 import 语句中被导入时才执行。 [#]_ "
102+ "( 当文件被当作脚本运行时,它们也会执行。) "
103103
104104#: ../../tutorial/modules.rst:78
105105msgid ""
@@ -434,8 +434,9 @@ msgid ""
434434" authors of multi-module packages like NumPy or Pillow from having to worry "
435435"about each other's module names."
436436msgstr ""
437- "包是一种通过用“.模块名”来构造Python模块命名空间的方法。 例如,模块名:mod:`A.B` 指代 ``A`` 包中名为 ``B`` "
438- "的子模块。正如模块的使用使得不同模块的作者不必担心彼此的全局变量名称一样,使用加点的模块名可以节省NumPy或Pillow等多模块软件包的作者不必担心彼此的模块名称一样。"
437+ "包是一种通过用“带点号的模块名”来构造 Python 模块命名空间的方法。 例如,模块名 :mod:`A.B` 表示 ``A`` 包中名为 ``B`` "
438+ "的子模块。正如模块的使用使得不同模块的作者不必担心彼此的全局变量名称一样,使用加点的模块名可以使得 NumPy 或 Pillow "
439+ "等多模块软件包的作者不必担心彼此的模块名称一样。"
439440
440441#: ../../tutorial/modules.rst:388
441442msgid ""
@@ -681,4 +682,4 @@ msgid ""
681682"In fact function definitions are also 'statements' that are 'executed'; the "
682683"execution of a module-level function definition enters the function name in "
683684"the module's global symbol table."
684- msgstr "实际上,函数定义也是 '执行'的'语句' ;模块级函数定义的执行在模块的全局符号表中输入该函数名。"
685+ msgstr "实际上,函数定义也是“被执行”的“语句” ;模块级函数定义的执行在模块的全局符号表中输入该函数名。"
0 commit comments