@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.12\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2024-02-02 14:13 +0000\n "
17+ "POT-Creation-Date : 2024-02-02 15:40 +0000\n "
1818"PO-Revision-Date : 2021-06-28 00:54+0000\n "
1919"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2020"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -39,6 +39,8 @@ msgid ""
3939"compiler to allow the use of new Python features in modules containing the "
4040"future statement before the release in which the feature becomes standard."
4141msgstr ""
42+ "``from __future__ import feature`` 形式的导入被称为 :ref:`future 语句 <future>`。 它们会被 "
43+ "Python 编译器当作特例,通过包含 future 语句来允许新的 Python 特性在该特性成为语言标准之前发布的模块中使用。"
4244
4345#: ../../library/__future__.rst:16
4446msgid ""
@@ -47,6 +49,8 @@ msgid ""
4749" the :mod:`__future__` exists and is handled by the import system the same "
4850"way any other Python module would be. This design serves three purposes:"
4951msgstr ""
52+ "虽然这些future 语句被 Python 编译器赋予了额外的特殊含义,但它们仍然像会其他导入语句一样被执行,而 :mod:`__future__` "
53+ "的存在和被导入系统处理的方式与其他任何 Python 模块的相同。 这种设计有三个目的:"
5054
5155#: ../../library/__future__.rst:21
5256msgid ""
@@ -71,6 +75,9 @@ msgid ""
7175":mod:`__future__` will fail, because there was no module of that name prior "
7276"to 2.1)."
7377msgstr ""
78+ "确保 :ref:`future 语句 <future>` 在 Python 2.1 之前的发布版上运行时至少能抛出运行时异常(对 "
79+ ":mod:`__future__` 的导入将失败,因为will fail, because there was no module of that "
80+ "name prior to 2.1 之前没有这个模块名称)。"
7481
7582#: ../../library/__future__.rst:34
7683msgid "Module Contents"
0 commit comments