summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-12-28 18:06:40 (GMT)
committerGuido van Rossum <guido@python.org>2013-12-28 18:06:40 (GMT)
commit68816ef0583c2284f53126a198a011f7d1eff3a5 (patch)
treeba0da9c1658a18d39a43c4c9566ef4606b1eaa50
parente6d2f159fcadd5fc336970110c49bba706b9787e (diff)
downloadcpython-68816ef0583c2284f53126a198a011f7d1eff3a5.zip
cpython-68816ef0583c2284f53126a198a011f7d1eff3a5.tar.gz
cpython-68816ef0583c2284f53126a198a011f7d1eff3a5.tar.bz2
Export asyncio.iscoroutine[function].
-rw-r--r--Lib/asyncio/tasks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index cd9718f..406bcb9 100644
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -1,6 +1,7 @@
"""Support for tasks, coroutines and the scheduler."""
__all__ = ['coroutine', 'Task',
+ 'iscoroutinefunction', 'iscoroutine',
'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED',
'wait', 'wait_for', 'as_completed', 'sleep', 'async',
'gather', 'shield',