Skip to content

Commit 0366678

Browse files
[po] auto sync
1 parent c2695c4 commit 0366678

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.75%", "updated_at": "2025-06-27T16:58:53Z"}
1+
{"translation": "81.75%", "updated_at": "2025-06-28T01:21:04Z"}

howto/functional.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-06-27 14:55+0000\n"
1516
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1028,6 +1029,10 @@ msgid ""
10281029
"will also be called by Python's garbage collector when the generator is "
10291030
"garbage-collected."
10301031
msgstr ""
1032+
":meth:`~generator.close` 会向生成器发送一个 :exc:`GeneratorExit` 异常来终结迭代。 "
1033+
"当接收到此异常时,生成器的代码必须引发 :exc:`GeneratorExit` 或者 "
1034+
":exc:`StopIteration`;捕获此异常并作任何其他操作都是非法的并会触发 :exc:`RuntimeError`。 "
1035+
":meth:`~generator.close` 还会在生成器被作为垃圾回收时由 Python 的垃圾回收器调用。"
10311036

10321037
#: ../../howto/functional.rst:613
10331038
msgid ""

0 commit comments

Comments
 (0)