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

Skip to content

Commit 48ac7d3

Browse files
committed
[po] auto sync bot
1 parent 85d849b commit 48ac7d3

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

reference/toplevel_components.po

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,52 +80,54 @@ msgid ""
8080
"is a tty device, the interpreter enters interactive mode; otherwise, it "
8181
"executes the file as a complete program."
8282
msgstr ""
83+
"一个完整程序可通过三种形式被传递给解释器:使用 :option:`-c` *字符串* 命令行选项,使用一个文件作为第一个命令行参数,或者使用标准输入。 "
84+
"如果文件或标准输入是一个 tty 设置,解释器会进入交互模式;否则的话,它会将文件当作一个完整程序来执行。"
8385

8486
#: ../../reference/toplevel_components.rst:65
8587
msgid "File input"
86-
msgstr ""
88+
msgstr "文件输入"
8789

8890
#: ../../reference/toplevel_components.rst:67
8991
msgid "All input read from non-interactive files has the same form:"
90-
msgstr ""
92+
msgstr "所有从非交互式文件读取的输入都具有相同的形式:"
9193

9294
#: ../../reference/toplevel_components.rst:72
9395
msgid "This syntax is used in the following situations:"
94-
msgstr ""
96+
msgstr "此语法用于下列几种情况:"
9597

9698
#: ../../reference/toplevel_components.rst:74
9799
msgid "when parsing a complete Python program (from a file or from a string);"
98-
msgstr ""
100+
msgstr "解析一个完整 Python 程序时(从文件或字符串);"
99101

100102
#: ../../reference/toplevel_components.rst:76
101103
msgid "when parsing a module;"
102-
msgstr ""
104+
msgstr "解析一个模块时;"
103105

104106
#: ../../reference/toplevel_components.rst:78
105107
msgid "when parsing a string passed to the :func:`exec` function;"
106-
msgstr ""
108+
msgstr "解析一个传递给 :func:`exec` 函数的字符串时;"
107109

108110
#: ../../reference/toplevel_components.rst:84
109111
msgid "Interactive input"
110-
msgstr ""
112+
msgstr "交互式输入"
111113

112114
#: ../../reference/toplevel_components.rst:86
113115
msgid "Input in interactive mode is parsed using the following grammar:"
114-
msgstr ""
116+
msgstr "交互模式下的输入使用以下语法进行解析:"
115117

116118
#: ../../reference/toplevel_components.rst:91
117119
msgid ""
118120
"Note that a (top-level) compound statement must be followed by a blank line "
119121
"in interactive mode; this is needed to help the parser detect the end of the"
120122
" input."
121-
msgstr ""
123+
msgstr "请注意在交互模式下一条(最高层级)复合语句必须带有一个空行;这对于帮助解析器确定输入的结束是必须的。"
122124

123125
#: ../../reference/toplevel_components.rst:98
124126
msgid "Expression input"
125-
msgstr ""
127+
msgstr "表达式输入"
126128

127129
#: ../../reference/toplevel_components.rst:103
128130
msgid ""
129131
":func:`eval` is used for expression input. It ignores leading whitespace. "
130132
"The string argument to :func:`eval` must have the following form:"
131-
msgstr ""
133+
msgstr ":func:`eval` 被用于表达式输入。 它会忽略开头的空白。 传递给 :func:`eval` 的字符串参数必须具有以下形式:"

0 commit comments

Comments
 (0)