@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.8\n "
17
17
"Report-Msgid-Bugs-To : \n "
18
- "POT-Creation-Date : 2024-02-03 01:01 +0000\n "
18
+ "POT-Creation-Date : 2024-07-20 03:35 +0000\n "
19
19
"PO-Revision-Date : 2020-05-30 11:46+0000\n "
20
20
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
21
21
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -37,7 +37,7 @@ msgstr "``>>>``"
37
37
msgid ""
38
38
"The default Python prompt of the interactive shell. Often seen for code "
39
39
"examples which can be executed interactively in the interpreter."
40
- msgstr "交互式终端中默认的 Python 提示符。往往会显示于能以交互方式在解释器里执行的样例代码之前 。"
40
+ msgstr "Python 交互模式下的默认提示符。通常可以在能在解释器中交互执行的代码示例中看到 。"
41
41
42
42
#: ../../glossary.rst:14
43
43
msgid "``...``"
@@ -54,8 +54,7 @@ msgid ""
54
54
"delimiters (parentheses, square brackets, curly braces or triple quotes), or"
55
55
" after specifying a decorator."
56
56
msgstr ""
57
- "交互式终端中输入特殊代码行时默认的 Python "
58
- "提示符,包括:缩进的代码块,成对的分隔符之内(圆括号、方括号、花括号或三重引号),或是指定一个装饰器之后。"
57
+ "当输入带缩进的代码块时,以及在一对匹配的左右分隔符(括号、方括号、大括号或三引号)内,或在指定装饰器之后,交互式 Python 的默认提示符。"
59
58
60
59
#: ../../glossary.rst:23
61
60
msgid "The :const:`Ellipsis` built-in constant."
@@ -70,15 +69,15 @@ msgid ""
70
69
"A tool that tries to convert Python 2.x code to Python 3.x code by handling "
71
70
"most of the incompatibilities which can be detected by parsing the source "
72
71
"and traversing the parse tree."
73
- msgstr "把 Python 2.x 代码转换为 Python 3.x 代码的工具,通过解析源码,遍历解析树,处理绝大多数检测到的不兼容问题 。"
72
+ msgstr "这是一个尝试将 Python 2.x 代码转换为 Python 3.x 代码的工具,通过解析源代码和遍历解析树来处理大部分不兼容问题 。"
74
73
75
74
#: ../../glossary.rst:30
76
75
msgid ""
77
76
"2to3 is available in the standard library as :mod:`lib2to3`; a standalone "
78
77
"entry point is provided as :file:`Tools/scripts/2to3`. See "
79
78
":ref:`2to3-reference`."
80
79
msgstr ""
81
- "2to3 包含在标准库中,模块名为 :mod:`lib2to3`;提供了独立入口点 :file:`Tools/scripts/2to3`。详见 "
80
+ "2to3 的标准库为 :mod:`lib2to3`;独立入口点为 :file:`Tools/scripts/2to3`。 参见 "
82
81
":ref:`2to3-reference`。"
83
82
84
83
#: ../../glossary.rst:33
@@ -948,8 +947,8 @@ msgid ""
948
947
" optional :keyword:`!if` clause. The combined expression generates values "
949
948
"for an enclosing function::"
950
949
msgstr ""
951
- "返回一个迭代器的表达式。 它看起来很像普通表达式后面带有定义了一个循环变量、范围的 :keyword:`!for` 子句,以及一个可选的 "
952
- ":keyword:`!if` 子句。 以下复合表达式会为外层函数生成一系列值::"
950
+ "返回迭代器的表达式。它看起来像一个普通表达式,后面跟着一个 :keyword:`!for` "
951
+ "子句,定义了一个循环变量、范围和一个可选的 :keyword:`!if` 子句。以下复合表达式会为外层函数生成一系列值: ::"
953
952
954
953
#: ../../glossary.rst:476
955
954
msgid "generic function"
@@ -1013,7 +1012,8 @@ msgid ""
1013
1012
"that overcoming this performance issue would make the implementation much "
1014
1013
"more complicated and therefore costlier to maintain."
1015
1014
msgstr ""
1016
- "创建一个(以更精细粒度来锁定共享数据的)“自由线程”解释器的努力从未获得成功,因为这会牺牲在普通单处理器情况下的性能。据信克服这种性能问题的措施将导致实现变得更复杂,从而更难以维护。"
1015
+ "以往的创建实现 “线程自由” "
1016
+ "的解释器(能以更细的粒度锁定共享数据)的努力并不成功,因为在常见的单处理器中性能会受到影响。我们认为,克服性能问题会使实现过程变得更加复杂,从而增加维护成本。"
1017
1017
1018
1018
#: ../../glossary.rst:510
1019
1019
msgid "hash-based pyc"
@@ -1130,8 +1130,9 @@ msgid ""
1130
1130
"selecting it from your computer's main menu). It is a very powerful way to "
1131
1131
"test out new ideas or inspect modules and packages (remember ``help(x)``)."
1132
1132
msgstr ""
1133
- "Python 带有一个交互式解释器,即你可以在解释器提示符后输入语句和表达式,立即执行并查看其结果。只需不带参数地启动 ``python`` "
1134
- "命令(也可以在你的计算机开始菜单中选择相应菜单项)。在测试新想法或检验模块和包的时候用这种方式会非常方便(请记得使用 ``help(x)``)。"
1133
+ "Python 有一个交互式解释器,这意味着你可以在解释器的提示符下输入语句和表达式,然后立即执行并查看结果。 只需在没有参数的情况下启动 "
1134
+ "``python`` (如果有的话,还可以从计算机的主菜单中直接选择它来启动) 。这是测试新想法或检查模块和软件包的一种非常有效的方式 "
1135
+ "(别忘了试试``help(x)``) 。"
1135
1136
1136
1137
#: ../../glossary.rst:567
1137
1138
msgid "interpreted"
0 commit comments