Skip to content

Commit 6398332

Browse files
[po] auto sync
1 parent 69136e2 commit 6398332

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.78%", "updated_at": "2024-06-14T23:27:10Z"}
1+
{"translation": "93.78%", "updated_at": "2024-06-20T11:26:08Z"}

whatsnew/2.1.po

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-06-14 20:08+0000\n"
14+
"POT-Creation-Date: 2024-06-20 08:19+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -528,7 +528,7 @@ msgstr ""
528528
"不再需要编辑 :file:`Modules/Setup` 文件来启用模块,而是在 Python 源代码分发包的顶层目录运行一个 "
529529
":file:`setup.py` 脚本,该脚本在构建时尝试通过检查系统上的模块和头文件来发现可以启用那些模块。 如果某个模块已在 "
530530
":file:`Modules/Setup` 中配置,则 :file:`setup.py` 脚本不会尝试编译该模块,并会遵从 "
531-
":file:`Modules/Setup` 文件中的内容。 这提供了一种方式来指定特定平台所需的任何奇怪的命令行标志或库。"
531+
":file:`Modules/Setup` 文件中的内容。 这提供了一种方式来指定特定平台所需的任何奇怪的命令行旗标或库。"
532532

533533
#: ../../whatsnew/2.1.rst:325
534534
msgid ""
@@ -569,14 +569,15 @@ msgid ""
569569
"common one, and another being circular references in data structures such as"
570570
" trees."
571571
msgstr ""
572-
"存储对对象的引用(例如,在字典或列表中)会导致该对象永久存活。在某些特定情况下,这种行为是不希望的,最常见的是对象缓存,另一个是像树这样的数据结构中的循环引用。"
572+
"存储一个指向对象的引用(例如,在字典或列表中)会导致该对象永久存活。 "
573+
"在某些特定情况下,这种行为是不符合需要的,最常见的是对象缓存,另一个是像树这样的数据结构中的循环引用。"
573574

574575
#: ../../whatsnew/2.1.rst:352
575576
msgid ""
576577
"For example, consider a memoizing function that caches the results of "
577578
"another function ``f(x)`` by storing the function's argument and its result "
578579
"in a dictionary::"
579-
msgstr "例如,考虑一个记忆化函数,它通过将函数的参数及其结果存储在字典中来缓存另一个函数 ``f(x)`` 的结果"
580+
msgstr "例如,考虑一个记忆化函数,它通过将函数的参数及其结果存储在字典中来缓存另一个函数 ``f(x)`` 的结果::"
580581

581582
#: ../../whatsnew/2.1.rst:368
582583
msgid ""
@@ -650,7 +651,7 @@ msgstr ""
650651
msgid ""
651652
"Arbitrary attributes can now be set and retrieved on functions using the "
652653
"regular Python syntax::"
653-
msgstr "现在可以使用常规的 Python 语法在函数上设置和检索任意属性"
654+
msgstr "现在可以使用常规的 Python 语法在函数上设置和检索任意属性::"
654655

655656
#: ../../whatsnew/2.1.rst:444
656657
msgid ""
@@ -694,7 +695,7 @@ msgid ""
694695
":envvar:`PYTHONCASEOK` environment variable before starting the Python "
695696
"interpreter."
696697
msgstr ""
697-
"在 Python 2.1 中,:keyword:`import` 语句可以在不区分大小写的平台上模拟大小写敏感性。 现在,Python "
698+
"在 Python 2.1 中,:keyword:`import` 语句可以在不区分大小写的平台上模拟大小写敏感性。 现在,Python "
698699
"默认搜索第一个大小写敏感匹配的文件,如果找不到这样的文件,就会引发 :exc:`ImportError`,因此 ``import file`` "
699700
"不会导入名为 ``FILE.PY`` 的模块。 在启动 Python 解释器之前,可以通过设置 :envvar:`PYTHONCASEOK` "
700701
"环境变量来请求大小写不敏感匹配。"
@@ -711,9 +712,9 @@ msgid ""
711712
"be called instead of :func:`repr`. For example, you can set it to a special "
712713
"pretty-printing function::"
713714
msgstr ""
714-
"在交互模式下使用 Python 解释器时,命令的输出是通过内置的 :func:`repr` 函数显示的。在 Python 2.1 中,可以将变量 "
715-
":func:`sys.displayhook` 设置为一个可调用对象,该对象将在代替 :func:`repr` "
716-
"函数被调用。例如,你可以将其设置为一个特殊的美观打印函数:"
715+
"在交互模式下使用 Python 解释器时,命令的输出是通过内置的 :func:`repr` 函数显示的。 在 Python 2.1 中,可以将变量 "
716+
":func:`sys.displayhook` 设置为一个可调用对象,该对象将在代替 :func:`repr` 函数被调用。 "
717+
"例如,你可以将其设置为一个特殊的美化打印函数::"
717718

718719
#: ../../whatsnew/2.1.rst:502
719720
msgid ":pep:`217` - Display Hook for Interactive Use"
@@ -756,7 +757,7 @@ msgstr ""
756757
"``Py_TPFLAGS_CHECKTYPES``,以表明它们支持新的强制模型。 "
757758
"在此类扩展类型中,数字槽函数不再假定它们将得到两个相同类型的参数;相反,它们可能会得到两个不同类型的参数,然后可以执行自己的内部强制。如果槽函数传递给它一个无法处理的类型,它可以通过返回一个指向"
758759
" ``Py_NotImplemented`` 单一值的引用来表示失败。 然后将尝试其他类型的数值函数,也许它们可以处理该操作;如果其他类型也返回 "
759-
"``Py_NotImplemented``,那么将引发 :exc:`TypeError`。 用 Python 写的数值方法也可以返回 "
760+
"``Py_NotImplemented``,那么将引发 :exc:`TypeError`。 用 Python 写的数值方法也可以返回 "
760761
"``Py_NotImplemented``,导致解释器当作该方法不存在(也许会引发 :exc:`TypeError`,也许会尝试另一个对象的数值方法)。"
761762

762763
#: ../../whatsnew/2.1.rst:534

whatsnew/2.2.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-06-14 20:08+0000\n"
14+
"POT-Creation-Date: 2024-06-20 08:19+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -647,7 +647,7 @@ msgstr ":pep:`234` - 迭代器"
647647
msgid ""
648648
"Written by Ka-Ping Yee and GvR; implemented by the Python Labs crew, mostly"
649649
" by GvR and Tim Peters."
650-
msgstr "由 Ka-Ping Yee 和 GvR 撰写;由 Python Labs 团队(主要由 GvR 和 Tim Peters)实现。"
650+
msgstr "由 Ka-Ping Yee 和 GvR 撰写;由 Python Labs 小组(主要由 GvR 和 Tim Peters)实现。"
651651

652652
#: ../../whatsnew/2.2.rst:542
653653
msgid "PEP 255: Simple Generators"

0 commit comments

Comments
 (0)