@@ -78,33 +78,33 @@ msgstr ""
7878msgid ""
7979"When called with a file name argument or with a file as standard input, it "
8080"reads and executes a script from that file."
81- msgstr "当调用时附带一个文件名参数或以一个文件作为标准输入时,它会从该文件读取并执行脚本程序 。"
81+ msgstr "用文件名参数或以标准输入文件调用时,读取,并执行该脚本文件 。"
8282
8383#: ../../using/cmdline.rst:47
8484msgid ""
8585"When called with a directory name argument, it reads and executes an "
8686"appropriately named script from that directory."
87- msgstr "当调用时附带一个目录名参数时,它会从该目录读取并执行具有适当名称的脚本程序 。"
87+ msgstr "用目录名参数调用时,从该目录读取、执行适当名称的脚本 。"
8888
8989#: ../../using/cmdline.rst:49
9090msgid ""
9191"When called with ``-c command``, it executes the Python statement(s) given "
9292"as *command*. Here *command* may contain multiple statements separated by "
9393"newlines. Leading whitespace is significant in Python statements!"
9494msgstr ""
95- "当调用时附带 ``-c command`` 时,它会执行 *command* 所给出的 Python 语句。 在这里 *command* "
96- "可以包含以换行符分隔的多条语句。 请注意前导空格在 Python 语句中是有重要作用的 !"
95+ "用 ``-c command`` 调用时,执行 *command* 表示的 Python 语句。*command* "
96+ "可以包含用换行符分隔的多条语句。注意,前导空白字符在 Python 语句中非常重要 !"
9797
9898#: ../../using/cmdline.rst:52
9999msgid ""
100100"When called with ``-m module-name``, the given module is located on the "
101101"Python module path and executed as a script."
102- msgstr "当调用时附带 ``-m module-name`` 时,会在 Python 模块路径中查找指定的模块,并将其作为脚本程序执行 。"
102+ msgstr "用 ``-m module-name`` 调用时,在 Python 模块路径中查找指定的模块,并将其作为脚本执行 。"
103103
104104#: ../../using/cmdline.rst:55
105105msgid ""
106106"In non-interactive mode, the entire input is parsed before it is executed."
107- msgstr "在非交互模式下,会对全部输入先解析再执行 。"
107+ msgstr "非交互模式下,先解析全部输入,再执行 。"
108108
109109#: ../../using/cmdline.rst:57
110110msgid ""
@@ -113,17 +113,17 @@ msgid ""
113113"note that the first element, subscript zero (``sys.argv[0]``), is a string "
114114"reflecting the program's source."
115115msgstr ""
116- "一个接口选项会终结解释器所读入的选项列表,后续的所有参数将被放入 :data:`sys.argv` -- 请注意其中首个元素即第零项 "
117- "( ``sys.argv[0]``) 会是一个表示程序源的字符串 。"
116+ "接口选项会终结解释器读入的选项列表,所有后续参数都在 :data:`sys.argv` 里 -- "
117+ "注意,首个元素,即下标为零的元素( ``sys.argv[0]``)是表示程序来源的字符串 。"
118118
119119#: ../../using/cmdline.rst:64
120120msgid ""
121121"Execute the Python code in *command*. *command* can be one or more "
122122"statements separated by newlines, with significant leading whitespace as in "
123123"normal module code."
124124msgstr ""
125- "执行 *command* 中的 Python 代码。 *command* "
126- "可以为一条或以换行符分隔的多条语句,其中前导空格像在普通模块代码中一样具有作用 。"
125+ "执行 *command* 中的 Python 代码。*command* "
126+ "可以是一条语句,也可以是用换行符分隔的多条语句,其中,前导空白字符与普通模块代码中的作用一样 。"
127127
128128#: ../../using/cmdline.rst:68
129129msgid ""
@@ -132,8 +132,8 @@ msgid ""
132132":data:`sys.path` (allowing modules in that directory to be imported as top "
133133"level modules)."
134134msgstr ""
135- "如果给出此选项 ,:data:`sys.argv` 的首个元素将为 ``\" -c\" `` 并且当前目录将被加入 :data:`sys.path` "
136- "的开头(以允许该目录中的模块作为最高层级模块被导入 )。"
135+ "使用此选项时 ,:data:`sys.argv` 的首个元素为 ``\" -c\" ``,并会把当前目录加入至 :data:`sys.path` "
136+ "开头(让该目录中的模块作为顶层模块导入 )。"
137137
138138#: ../../using/cmdline.rst:73
139139msgid ""
@@ -145,7 +145,7 @@ msgstr "使用 ``command`` 参数会引发 :ref:`审计事件 <auditing>` ``cpyt
145145msgid ""
146146"Search :data:`sys.path` for the named module and execute its contents as the"
147147" :mod:`__main__` module."
148- msgstr "在 :data:`sys.path` 中搜索指定名称的模块并将其内容作为 :mod:`__main__` 模块来执行 。"
148+ msgstr "在 :data:`sys.path` 中搜索指定模块,并以 :mod:`__main__` 模块执行其内容 。"
149149
150150#: ../../using/cmdline.rst:80
151151msgid ""
@@ -154,8 +154,8 @@ msgid ""
154154"but the implementation may not always enforce this (e.g. it may allow you to"
155155" use a name that includes a hyphen)."
156156msgstr ""
157- "由于该参数为 *module* 名称,你不应给出文件扩展名 ( ``.py``)。 模块名称应为绝对有效的 Python "
158- "模块名称,但具体实现可能并不总是强制要求这一点(例如它可能允许你使用包含连字符的名称 )。"
157+ "该参数是 *模块名*,请勿输入文件扩展名( ``.py``)。模块名应为有效的绝对 Python 模块名,但本实现对此不作强制要求(例如,允许使用含连字符 "
158+ " ``-`` 的名称 )。"
159159
160160#: ../../using/cmdline.rst:85
161161msgid ""
0 commit comments