summaryrefslogtreecommitdiff
path: root/Lib/asyncio/futures.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/futures.py')
-rw-r--r--Lib/asyncio/futures.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py
index 1be3117ebb..0188f52d21 100644
--- a/Lib/asyncio/futures.py
+++ b/Lib/asyncio/futures.py
@@ -302,9 +302,7 @@ class Future:
self._schedule_callbacks()
if _PY34:
self._traceback = traceback.format_exception(
- exception.__class__,
- exception,
- exception.__traceback__)
+ exception.__class__, exception, exception.__traceback__)
else:
self._tb_logger = _TracebackLogger(exception)
# Arrange for the logger to be activated after all callbacks