diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-30 18:19:18 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-30 18:19:18 -0400 |
commit | 93a3252c9c656c095e6855e48c1d05eda141be09 (patch) | |
tree | 885ba2eec33a194830960ab0eff55d53dbb870b8 /Lib/inspect.py | |
parent | b2c42c2a8f308626bba43db31a78907bf6e07dc3 (diff) | |
parent | a74b5e59af6b4271eac7953771e7d3346e76b058 (diff) | |
download | cpython-git-93a3252c9c656c095e6855e48c1d05eda141be09.tar.gz |
Merge 3.5 (Issue #24400)
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r-- | Lib/inspect.py | 4 |
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. |