File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1
- {"translation" : " 94.33 %" , "updated_at" : " 2024-10-04T18 :42:43Z " }
1
+ {"translation" : " 94.34 %" , "updated_at" : " 2024-10-11T18 :42:12Z " }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.11\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-08-16 15:24 +0000\n "
14
+ "POT-Creation-Date : 2024-10-11 15:25 +0000\n "
15
15
"PO-Revision-Date : 2023-05-24 02:08+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -102,7 +102,7 @@ msgstr "重写 :func:`io.open_code` 的正常行为,将其形参通过所提
102
102
103
103
#: ../../c-api/file.rst:68
104
104
msgid "The *handler* is a function of type:"
105
- msgstr ""
105
+ msgstr "*handler* 函数的类型为: "
106
106
107
107
#: ../../c-api/file.rst:73
108
108
msgid ""
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.11\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-08-23 15:32 +0000\n "
14
+ "POT-Creation-Date : 2024-10-11 15:25 +0000\n "
15
15
"PO-Revision-Date : 2023-05-24 02:23+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -207,6 +207,13 @@ msgid ""
207
207
" full explanation of the interaction between :keyword:`!yield` and "
208
208
"exceptions.)"
209
209
msgstr ""
210
+ "当您调用生成器函数时,它不会返回一个单独的值;相反,它会返回一个支持迭代器协议的生成器对象。在执行 :keyword:`yield` "
211
+ "语句时,生成器会输出 ``i`` 的值 ,类似于 :keyword:`return` 语句。 :keyword:`!yield` 与 "
212
+ ":keyword:`!return` 语句之间的最大区别在于,在到达 :keyword:`!yield` 时,生成器的执行状态会暂停,并保留本地变量。 "
213
+ "在下一次调用生成器 的 ``.next()`` 方法时,函数将在 :keyword:`!yield` 语句之后立即恢复执行。 "
214
+ "(由于复杂的原因,:keyword:`!yield` 语句不允许在 :keyword:`try`...\\ :keyword:`!finally` "
215
+ "语句的 :keyword:`!try` 代码块内出现;有关 :keyword:`!yield` 和异常之间交互的完整解释,请阅读 "
216
+ ":pep:`255`。)"
210
217
211
218
#: ../../whatsnew/2.3.rst:169
212
219
msgid "Here's a sample usage of the :func:`!generate_ints` generator::"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.11\n "
15
15
"Report-Msgid-Bugs-To : \n "
16
- "POT-Creation-Date : 2024-09-20 15:42 +0000\n "
16
+ "POT-Creation-Date : 2024-10-11 15:25 +0000\n "
17
17
"PO-Revision-Date : 2023-05-24 02:23+0000\n "
18
18
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
19
19
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -3321,7 +3321,7 @@ msgstr ""
3321
3321
3322
3322
#: ../../whatsnew/3.4.rst:1973
3323
3323
msgid "``python -m`` now works with namespace packages."
3324
- msgstr ""
3324
+ msgstr "现在 ``python -m`` 将可用于命名空间包。 "
3325
3325
3326
3326
#: ../../whatsnew/3.4.rst:1975
3327
3327
msgid ""
You can’t perform that action at this time.
0 commit comments