mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
asyncio: Clean up formatting.
This commit is contained in:
parent
4c3c699e62
commit
9ba75db3c5
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue