summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-06-30 22:19:01 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-06-30 22:19:01 (GMT)
commita74b5e59af6b4271eac7953771e7d3346e76b058 (patch)
treeb677c97fc2bda02f303c62c4c8545948b2fc00e6 /Doc/library/inspect.rst
parent86cd7d6b756bb0f99b7854c75dfcd24e1ec3bdbc (diff)
downloadcpython-a74b5e59af6b4271eac7953771e7d3346e76b058.zip
cpython-a74b5e59af6b4271eac7953771e7d3346e76b058.tar.gz
cpython-a74b5e59af6b4271eac7953771e7d3346e76b058.tar.bz2
Issue #24400: Remove inspect.isawaitable().
isawaitable() was added before collections.abc.Awaitable; now, with Awaitable, it is no longer needed (we don't have ishashable() or isiterable() methods in the inspect module either).
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index d4ebffd..8bce522 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -303,16 +303,6 @@ attributes:
.. versionadded:: 3.5
-.. function:: isawaitable(object)
-
- Return true if the object can be used in :keyword:`await`
- expression.
-
- See also :class:`collections.abc.Awaitable`.
-
- .. versionadded:: 3.5
-
-
.. function:: istraceback(object)
Return true if the object is a traceback.