diff options
| author | Yury Selivanov <yury@magic.io> | 2016-09-15 19:58:15 (GMT) |
|---|---|---|
| committer | Yury Selivanov <yury@magic.io> | 2016-09-15 19:58:15 (GMT) |
| commit | 45dccdad93fbfa5c2b90a697b47d5286115827aa (patch) | |
| tree | 01fd44537abe8ab50c6f8ecb9749b8555e163f35 /Lib/asyncio/coroutines.py | |
| parent | 5587d7c071e5725d8aaf565b985441011cb1449f (diff) | |
| download | cpython-45dccdad93fbfa5c2b90a697b47d5286115827aa.zip cpython-45dccdad93fbfa5c2b90a697b47d5286115827aa.tar.gz cpython-45dccdad93fbfa5c2b90a697b47d5286115827aa.tar.bz2 | |
Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
Patch by iceboy.
Diffstat (limited to 'Lib/asyncio/coroutines.py')
| -rw-r--r-- | Lib/asyncio/coroutines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py index 72ffb44..e013d64 100644 --- a/Lib/asyncio/coroutines.py +++ b/Lib/asyncio/coroutines.py @@ -271,7 +271,7 @@ def _format_coroutine(coro): func = coro if coro_name is None: - coro_name = events._format_callback(func, ()) + coro_name = events._format_callback(func, (), {}) try: coro_code = coro.gi_code |
