@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.10\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2024-07-20 02:29 +0000\n "
16+ "POT-Creation-Date : 2024-08-02 16:01 +0000\n "
1717"PO-Revision-Date : 2022-11-05 17:23+0000\n "
1818"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1919"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -405,14 +405,14 @@ msgid ""
405405"Some standard Python objects now support the context management protocol and"
406406" can be used with the ':keyword:`with`' statement. File objects are one "
407407"example::"
408- msgstr ""
408+ msgstr "一些标准 Python 对象现在已支持上下文管理协议并可被用于 ':keyword:`with`' 语句。 文件对象就是一个例子:: "
409409
410410#: ../../whatsnew/2.6.rst:292
411411msgid ""
412412"After this statement has executed, the file object in *f* will have been "
413413"automatically closed, even if the :keyword:`for` loop raised an exception "
414414"part-way through the block."
415- msgstr ""
415+ msgstr "在此语句被执行之后,文件对象 *f* 将被自动关闭,即使是当 :keyword:`for` 循环在代码块中间引发了异常的时候也是如此。 "
416416
417417#: ../../whatsnew/2.6.rst:298
418418msgid ""
@@ -828,7 +828,7 @@ msgstr ""
828828
829829#: ../../whatsnew/2.6.rst:776
830830msgid "Format specifiers can reference other fields through nesting::"
831- msgstr ""
831+ msgstr "格式说明符可以通过嵌套来引用其他字段:: "
832832
833833#: ../../whatsnew/2.6.rst:786
834834msgid "The alignment of a field within the desired width can be specified:"
@@ -1010,12 +1010,14 @@ msgid ""
10101010"Making :func:`print` a function makes it possible to replace the function by"
10111011" doing ``def print(...)`` or importing a new function from somewhere else."
10121012msgstr ""
1013+ "在 Python 3.0 中 ``print`` 语句变成了 :func:`print` 函数。 将 :func:`print` 变成函数使得可以通过 "
1014+ "``def print(...)`` 或从其他地方导入一个新函数来替换该函数。"
10131015
10141016#: ../../whatsnew/2.6.rst:865
10151017msgid ""
10161018"Python 2.6 has a ``__future__`` import that removes ``print`` as language "
10171019"syntax, letting you use the functional form instead. For example::"
1018- msgstr ""
1020+ msgstr "Python 2.6 提供了 ``__future__`` 导入语句来移除 ``print`` 语法,让你可以改用函数形式。 例如:: "
10191021
10201022#: ../../whatsnew/2.6.rst:871
10211023msgid "The signature of the new function is::"
@@ -1059,7 +1061,7 @@ msgstr "PEP 3110: 异常处理的变更"
10591061msgid ""
10601062"One error that Python programmers occasionally make is writing the following"
10611063" code::"
1062- msgstr ""
1064+ msgstr "Python 程序员偶尔会犯的一个错误是编写这样的代码:: "
10631065
10641066#: ../../whatsnew/2.6.rst:904
10651067msgid ""
0 commit comments