Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf820fc

Browse files
committed
[po] auto sync bot
1 parent 16a2240 commit bf820fc

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

reference/expressions.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ msgid ""
7979
"Some additional rules apply for certain operators (e.g., a string as a left "
8080
"argument to the '%' operator). Extensions must define their own conversion "
8181
"behavior."
82-
msgstr ""
83-
"某些附加规则会作用于特定运算符(例如,字符串作为Some additional rules apply for certain operators "
84-
"(e.g., a string as a left argument to the '%' 运算符的左运算参数)。 扩展必须定义它们自己的转换行为。"
82+
msgstr "某些附加规则会作用于特定运算符(例如,字符串作为 '%' 运算符的左运算参数)。 扩展必须定义它们自己的转换行为。"
8583

8684
#: ../../reference/expressions.rst:49
8785
msgid "Atoms"
@@ -740,6 +738,9 @@ msgid ""
740738
" it is propagated to the caller. :meth:`close` does nothing if the "
741739
"generator has already exited due to an exception or normal exit."
742740
msgstr ""
741+
"在生成器函数暂停的位置引发 :exc:`GeneratorExit`。 如果之后生成器函数正常退出、关闭或引发 :exc:`GeneratorExit`"
742+
" (由于未捕获该异常) 则关闭并返回其调用者。 如果生成器产生了一个值,关闭会引发 :exc:`RuntimeError`。 "
743+
"如果生成器引发任何其他异常,它会被传播给调用者。 如果生成器已经由于异常或正常退出则 :meth:`close` 不会做任何事。"
743744

744745
#: ../../reference/expressions.rst:578
745746
msgid "Examples"
@@ -755,7 +756,7 @@ msgstr "这里是一个简单的例子,演示了生成器和生成器函数的
755756
msgid ""
756757
"For examples using ``yield from``, see :ref:`pep-380` in \"What's New in "
757758
"Python.\""
758-
msgstr "对于 ``yield from`` 的例子, 参见 \"What's New in Python\" 中的 :ref:`pep-380`。"
759+
msgstr "对于 ``yield from`` 的例子, 参见Python 有什么新变化”中的 :ref:`pep-380`。"
759760

760761
#: ../../reference/expressions.rst:613
761762
msgid "Asynchronous generator functions"

0 commit comments

Comments
 (0)