Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a446e9e commit 222b35cCopy full SHA for 222b35c
1 file changed
whatsnew/3.7.po
@@ -1072,6 +1072,11 @@ msgid ""
1072
":meth:`Task.all_tasks() <asyncio.Task.all_tasks>` methods have been "
1073
"deprecated. (Contributed by Andrew Svetlov in :issue:`32250`.)"
1074
msgstr ""
1075
+"新的 :func:`asyncio.current_task` 函数可返回当前运行的 :class:`~asyncio.Task` 实例,以及新的 "
1076
+":func:`asyncio.all_tasks` 函数可返回给定循环中所有现存 ``Task`` 实例的集合。 "
1077
+":meth:`Task.current_task() <asyncio.Task.current_task>` 和 "
1078
+":meth:`Task.all_tasks() <asyncio.Task.all_tasks>` 方法已弃用。 (由 Andrew Svetlov 在"
1079
+" :issue:`32250` 中贡献。)"
1080
1081
#: ../../whatsnew/3.7.rst:670
1082
msgid ""
0 commit comments