8000 [po] auto sync · python/python-docs-zh-cn@ded12a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ded12a8

Browse files
[po] auto sync
1 parent 370ece1 commit ded12a8

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "80.82%", "updated_at": "2025-01-25T08:55:40Z"}
1+
{"translation": "80.82%", "updated_at": "2025-01-25T09:55:48Z"}

faq/programming.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3596,7 +3596,7 @@ msgid ""
35963596
"for ``None``. This reads like plain English in code and avoids confusion "
35973597
"with other objects that may have boolean values that evaluate to false."
35983598
msgstr ""
3599-
"正如 :pep:`8` 所建议的,标识号测试是检查 ``None`` 的推荐方式。 "
3599+
"正如 :pep:`8` 所建议的,标识测试是检查 ``None`` 的推荐方式。 "
36003600
"这样的代码读起来就像直白的英语并可避免与具有结果为假的布尔值的对象相混淆。"
36013601

36023602
#: ../../faq/programming.rst:1912
@@ -3606,6 +3606,8 @@ msgid ""
36063606
"guaranteed to be distinct from other objects. For example, here is how to "
36073607
"implement a method that behaves like :meth:`dict.pop`:"
36083608
msgstr ""
3609+
"当 ``None`` 是一个有效的输入值时检查可选参数会有点麻烦。 在这些情况下,你可以创建一个保证与其他对象不同的单例哨兵对象。 "
3610+
"例如,以下代码演示了如何实现一个行为与 :meth:`dict.pop` 类似的方法:"
36093611

36103612
#: ../../faq/programming.rst:1917
36113613
msgid ""
@@ -3636,7 +3638,7 @@ msgid ""
36363638
"Container implementations sometimes need to augment equality tests with "
36373639
"identity tests. This prevents the code from being confused by objects such "
36383640
"as ``float('NaN')`` that are not equal to themselves."
3639-
msgstr ""
3641+
msgstr "容器的实现有时需要用标识测试来增强相等性测试。 这样可以防止代码被 ``float('NaN')`` 这类不等于自身的对象所干扰。"
36403642

36413643
#: ../../faq/programming.rst:1934
36423644
msgid ""

glossary.po

Lines changed: 5 additions & 2 deletions
< 5FEE td data-grid-cell-id="diff-2539c6b20421f5d0be4fec9359547b04caba81863ce3a99d945bcb5680bb8716-253-253-2" data-line-anchor="diff-2539c6b20421f5d0be4fec9359547b04caba81863ce3a99d945bcb5680bb8716R253" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">
"off. See :pep:`492` and :pep:`525`."
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WH-2099 <wh2099@outlook.com>, 2022
1313
# LeeWendao <LeeWendao@outlook.com>, 2022
1414
# 乐成 王, 2023
15-
# Freesand Leo <yuqinju@163.com>, 2024
15+
# Freesand Leo <yuqinju@163.com>, 2025
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
2323
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
24-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
24+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2525
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2626
"MIME-Version: 1.0\n"
2727
"Content-Type: text/plain; charset=UTF-8\n"
@@ -252,6 +252,9 @@ msgid ""
252252
"awaitable returned by :meth:`~object.__anext__`, it picks up where it left "
253253
254254
msgstr ""
255+
"每个 :keyword:`yield` 会临时暂停处理过程,记住执行状态(包括局部变量和挂起的 try 语句)。 当 *异步生成器迭代器* 通过 "
256+
":meth:`~object.__anext__` 所返回的另一个可等待对象有效地恢复时,它会从离开位置恢复处理过程。 参见 :pep:`492` 和 "
257+
":pep:`525`。"
255258

256259
#: ../../glossary.rst:117
257260
msgid "asynchronous iterable"

0 commit comments

Comments
 (0)
0