summaryrefslogtreecommitdiff
path: root/Lib/inspect.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-06-30 18:19:18 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-06-30 18:19:18 -0400
commit93a3252c9c656c095e6855e48c1d05eda141be09 (patch)
tree885ba2eec33a194830960ab0eff55d53dbb870b8 /Lib/inspect.py
parentb2c42c2a8f308626bba43db31a78907bf6e07dc3 (diff)
parenta74b5e59af6b4271eac7953771e7d3346e76b058 (diff)
downloadcpython-git-93a3252c9c656c095e6855e48c1d05eda141be09.tar.gz
Merge 3.5 (Issue #24400)
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 6285a6cdd5..f48769e514 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -186,10 +186,6 @@ def iscoroutinefunction(object):
return bool((isfunction(object) or ismethod(object)) and
object.__code__.co_flags & CO_COROUTINE)
-def isawaitable(object):
- """Return true if the object can be used in "await" expression."""
- return isinstance(object, collections.abc.Awaitable)
-
def isgenerator(object):
"""Return true if the object is a generator.