[Python-checkins] cpython: Export asyncio.iscoroutine[function].

guido.van.rossum python-checkins at python.org
Sat Dec 28 19:06:49 CET 2013


http://hg.python.org/cpython/rev/232d4af24c7c
changeset:   88216:232d4af24c7c
parent:      88213:f7dc02e6987a
user:        Guido van Rossum <guido at python.org>
date:        Sat Dec 28 08:06:40 2013 -1000
summary:
  Export asyncio.iscoroutine[function].

files:
  Lib/asyncio/tasks.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
--- 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',

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list