diff options
Diffstat (limited to 'blinker/_async.py')
-rw-r--r-- | blinker/_async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blinker/_async.py b/blinker/_async.py index 5a88f13..2b530e4 100644 --- a/blinker/_async.py +++ b/blinker/_async.py @@ -4,9 +4,9 @@ from blinker.base import Signal try: - schedule = asyncio.ensure_future + schedule = asyncio.create_task except AttributeError: - schedule = asyncio.async + schedule = asyncio.ensure_future @asyncio.coroutine |