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

Skip to content

Commit 3021b26

Browse files
committed
[po] auto sync bot
1 parent 94d7f1b commit 3021b26

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

reference/datamodel.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,10 +2502,12 @@ msgid ""
25022502
"only one parent is allowed to have attributes created by slots (the other "
25032503
"bases must have empty slot layouts) - violations raise :exc:`TypeError`."
25042504
msgstr ""
2505+
"带有多个父类声明位置的多重继承也是可用的,但仅允许一个父类具有由声明位置创建的属性(其他基类必须具有空的位置布局) —— 违反规则将引发 "
2506+
":exc:`TypeError`。"
25052507

25062508
#: ../../reference/datamodel.rst:1788
25072509
msgid "Customizing class creation"
2508-
msgstr ""
2510+
msgstr "自定义类创建"
25092511

25102512
#: ../../reference/datamodel.rst:1790
25112513
msgid ""

tutorial/modules.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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.)"
100100
msgstr ""
101-
"模块可以包含可执行的语句以及函数定义。这些语句用于初始化模块。它们仅在模块 *第一次* 被import语句中导入时才执行。 "
102-
"[#]_(当文件被当作脚本运行时,它们也会执行。"
101+
"模块可以包含可执行的语句以及函数定义。这些语句用于初始化模块。它们仅在模块 *第一次* 在 import 语句中被导入时才执行。 [#]_ "
102+
"(当文件被当作脚本运行时,它们也会执行。)"
103103

104104
#: ../../tutorial/modules.rst:78
105105
msgid ""
@@ -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."
436436
msgstr ""
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
441442
msgid ""
@@ -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

Comments
 (0)