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

Skip to content

Commit 85d849b

Browse files
committed
[po] auto sync bot
1 parent 40e5a5f commit 85d849b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

reference/toplevel_components.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,16 @@ msgid ""
5050
":mod:`__main__`. The latter is used to provide the local and global "
5151
"namespace for execution of the complete program."
5252
msgstr ""
53+
"虽然语言规范描述不必规定如何发起调用语言解释器,但对完整的 Python 程序加以说明还是很有用的。 一个完整的 Python "
54+
"程序会在最小初始化环境中被执行:所有内置和标准模块均为可用,但均处于未初始化状态,只有 :mod:`sys` (各种系统服务), "
55+
":mod:`builtins` (内置函数、异常以及 ``None``) 和 :mod:`__main__` 除外。 "
56+
"最后一个模块用于为完整程序的执行提供局部和全局命名空间。"
5357

5458
#: ../../reference/toplevel_components.rst:36
5559
msgid ""
5660
"The syntax for a complete Python program is that for file input, described "
5761
"in the next section."
58-
msgstr ""
62+
msgstr "适用于一个完整 Python 程序的语法即下节所描述的文件输入。"
5963

6064
#: ../../reference/toplevel_components.rst:43
6165
msgid ""
@@ -65,6 +69,8 @@ msgid ""
6569
"identical to that of a complete program; each statement is executed in the "
6670
"namespace of :mod:`__main__`."
6771
msgstr ""
72+
"解释器也可以通过交互模式被发起调用;在此情况下,它并不读取和执行一个完整程序,而是每次读取和执行一条语句(可能为复合语句)。 "
73+
"此时的初始环境与一个完整程序的相同;每条语句会在 :mod:`__main__` 的命名空间中被执行。"
6874

6975
#: ../../reference/toplevel_components.rst:55
7076
msgid ""

0 commit comments

Comments
 (0)