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