aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/coroutines.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-09-15 15:58:15 -0400
committerYury Selivanov <yury@magic.io>2016-09-15 15:58:15 -0400
commit45dccdad93fbfa5c2b90a697b47d5286115827aa (patch)
tree01fd44537abe8ab50c6f8ecb9749b8555e163f35 /Lib/asyncio/coroutines.py
parent5587d7c071e5725d8aaf565b985441011cb1449f (diff)
downloadcpython-45dccdad93fbfa5c2b90a697b47d5286115827aa.tar.gz
cpython-45dccdad93fbfa5c2b90a697b47d5286115827aa.zip
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py
index 72ffb44e957..e013d64edfc 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