@@ -42,8 +42,8 @@ msgid ""
4242" that a secondary prompt on a line by itself in an example means you must "
4343"type a blank line; this is used to end a multi-line command."
4444msgstr ""
45- "在下面的例子中,通过提示符 (:term:`>>>` 与 :term:`...`) "
46- "的出现与否来区分输入和输出:如果你想复现这些例子,当提示符出现后,你必须在提示符后键入例子中的每一个词;不以提示符开头的那些行是解释器的输出。注意例子中某行中出现第二个提示符意味着你必须键入一个空白行 ;这是用来结束多行命令的。"
45+ "在下面的例子中,通过是否存在提示符 (:term:`>>>` 与 :term:`...`) "
46+ "来区分输入与输出:如需复现这些例子,有提示符开头时,必须在提示符后键入例子中的每个词;未以提示符开头的行是解释器的输出。注意,例子中的某行出现第二个提示符时,意味着必须键入一个空白行 ;这是用来结束多行命令的。"
4747
4848#: ../../tutorial/introduction.rst:16
4949msgid ""
@@ -55,23 +55,23 @@ msgid ""
5555"character. Since comments are to clarify code and are not interpreted by "
5656"Python, they may be omitted when typing in examples."
5757msgstr ""
58- "这个手册中的许多例子都包含注释,甚至交互性命令中也有。Python中的注释以井号 ``#`` "
59- "开头,并且一直延伸到该文本行结束为止。注释可以出现在一行的开头或者是空白和代码的后边,但是不能出现在字符串中间 。字符串中的井号就是井号。因为注释是用来阐明代码的,不会被 "
60- " Python 解释,所以在键入这些例子时,注释是可以被忽略的 。"
58+ "本手册中的许多例子,甚至交互性命令中都包含注释。Python 注释以井号 ``#`` "
59+ "开头,一直到该物理行结束。注释可以在一行开头,或在空白字符与代码之后,但不能在字符串里面 。字符串中的井号就是井号。注释是用来阐明代码的,Python "
60+ "不解释注释,在键入例子时,可以忽略注释 。"
6161
6262#: ../../tutorial/introduction.rst:24
6363msgid "Some examples::"
6464msgstr "几个例子:"
6565
6666#: ../../tutorial/introduction.rst:35
6767msgid "Using Python as a Calculator"
68- msgstr "Python 作为计算器使用 "
68+ msgstr "Python 版计算器 "
6969
7070#: ../../tutorial/introduction.rst:37
7171msgid ""
7272"Let's try some simple Python commands. Start the interpreter and wait for "
7373"the primary prompt, ``>>>``. (It shouldn't take long.)"
74- msgstr "现在,尝试一些简单的 Python 命令。启动解释器,等待界面中的提示符 ,``>>>`` (很快就好)。"
74+ msgstr "现在,尝试一些简单的 Python 命令。启动解释器,等待主提示符出现 ,``>>>`` (很快就好)。"
7575
7676#: ../../tutorial/introduction.rst:44
7777msgid "Numbers"
@@ -167,8 +167,8 @@ msgid ""
167167"double quotes (``\" ...\" ``) with the same result [#]_. ``\\ `` can be used "
168168"to escape quotes::"
169169msgstr ""
170- "除了数字,Python 也可以操作字符串。字符串有多种形式,可以使用单引号 (``'……'``),双引号(``\" ……\" ``)都可以获得同样的结果 "
171- "[#]_。反斜杠 ``\\ `` 可以用来转义:: "
170+ "除了数字,Python 还可以操作字符串。字符串有多种表现形式,单引号 (``'……'``),双引号(``\" ……\" ``)引起来的结果相同 "
171+ "[#]_。反斜杠 ``\\ `` 用于转义: "
172172
173173#: ../../tutorial/introduction.rst:155
174174msgid ""
0 commit comments