diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-08 23:09:35 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-08 23:09:35 (GMT) |
commit | 12985b5da76d7737a79e471f96ee05303bf1ea25 (patch) | |
tree | 0d230536e8af04c7d7dc2a085d057da3d8467bae /Lib/asyncio/tasks.py | |
parent | 540373310ea0c99a468cbeb140de97f9292eba2e (diff) | |
parent | 15cc678d8971f5ee1a7ea5e88bcd22413601f033 (diff) | |
download | cpython-12985b5da76d7737a79e471f96ee05303bf1ea25.zip cpython-12985b5da76d7737a79e471f96ee05303bf1ea25.tar.gz cpython-12985b5da76d7737a79e471f96ee05303bf1ea25.tar.bz2 |
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r-- | Lib/asyncio/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 9aebffd..8fc5bea 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -68,7 +68,7 @@ class Task(futures.Future): return {t for t in cls._all_tasks if t._loop is loop} def __init__(self, coro, *, loop=None): - assert coroutines.iscoroutine(coro), repr(coro) # Not a coroutine function! + assert coroutines.iscoroutine(coro), repr(coro) super().__init__(loop=loop) if self._source_traceback: del self._source_traceback[-1] |