mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
Patch by iceboy.
This commit is contained in:
parent
5587d7c071
commit
45dccdad93
4 changed files with 26 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue