Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
Wulian233 committed Aug 10, 2024
commit d48ed666cacfc30216fbef2e4a5a308f8d34a318
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ Deprecated
:c:macro:`!isfinite` available from :file:`math.h`
since C99. (Contributed by Sergey B Kirpichev in :gh:`119613`.)

* :mod:`asyncio`: :func:`asyncio.iscoroutinefunction` is deprecated
* :mod:`asyncio`: :func:`asyncio.coroutines.iscoroutinefunction` is deprecated
and will be removed in Python 3.16;
Comment thread
kumaraditya303 marked this conversation as resolved.
Outdated
use :func:`inspect.iscoroutinefunction` instead.
(Contributed by Jiahao Li in :gh:`122875`.)
Expand Down
2 changes: 1 addition & 1 deletion Lib/asyncio/coroutines.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__all__ = ['iscoroutinefunction', 'iscoroutine']
__all__ = 'iscoroutinefunction', 'iscoroutine'

import collections.abc
import inspect
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Deprecate :func:`asyncio.iscoroutinefunction` in favor of
Deprecate :func:`asyncio.coroutines.iscoroutinefunction` in favor of
Comment thread
kumaraditya303 marked this conversation as resolved.
Outdated
:func:`inspect.iscoroutinefunction`.