File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 91.20%" , "updated_at" : " 2024-02-15T07:20:46Z " }
1+ {"translation" : " 91.20%" , "updated_at" : " 2024-02-15T08:24:19Z " }
Original file line number Diff line number Diff line change @@ -3054,6 +3054,8 @@ msgid ""
30543054"generate a :exc:`DeprecationWarning`, and will trigger a :exc:`RuntimeError`"
30553055" in Python 3.7. See :ref:`whatsnew-pep-479` for details."
30563056msgstr ""
3057+ "在生成器内部引发 :exc:`StopIteration` 异常现在将产生 :exc:`DeprecationWarning`,并将在 Python "
3058+ "3.7 中触发 :exc:`RuntimeError`。 详情参见 :ref:`whatsnew-pep-479`。"
30573059
30583060#: ../../whatsnew/3.6.rst:1941
30593061msgid ""
@@ -3063,6 +3065,9 @@ msgid ""
30633065"will be removed in Python 3.7. (Contributed by Yury Selivanov in "
30643066":issue:`27243`.)"
30653067msgstr ""
3068+ "现在 :meth:`__aiter__` 方法应当直接返回一个异步迭代器而非如之前那样返回一个可等待对象。 继续返回可等待对象将触发 "
3069+ ":exc:`DeprecationWarning`。 向下兼容将在 Python 3.7 中被移除。 (由 Yury Selivanov 在 "
3070+ ":issue:`27243` 中贡献。)"
30663071
30673072#: ../../whatsnew/3.6.rst:1947
30683073msgid ""
You can’t perform that action at this time.
0 commit comments