summaryrefslogtreecommitdiff
path: root/asyncio/futures.py
diff options
context:
space:
mode:
Diffstat (limited to 'asyncio/futures.py')
-rw-r--r--asyncio/futures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/futures.py b/asyncio/futures.py
index 2c741fd..74a99ba 100644
--- a/asyncio/futures.py
+++ b/asyncio/futures.py
@@ -162,7 +162,7 @@ class Future:
cb = ''
def format_cb(callback):
- return events._format_callback(callback, ())
+ return events._format_callback_source(callback, ())
if size == 1:
cb = format_cb(cb[0])