Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.

Patch by iceboy.
This commit is contained in:
Yury Selivanov 2016-09-15 15:58:15 -04:00
parent 5587d7c071
commit 45dccdad93
4 changed files with 26 additions and 15 deletions

View file

@ -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