Skip to content

Commit e56d7c1

Browse files
committed
Reformat
1 parent 12bdf0e commit e56d7c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/asyncio/timeouts.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ async def __aexit__(
9292
if self._state is _State.EXPIRING:
9393
self._state = _State.EXPIRED
9494

95-
if self._task.uncancel() == 0 and exc_type in (None, exceptions.CancelledError):
95+
if (self._task.uncancel() == 0
96+
and exc_type in (None, exceptions.CancelledError)
97+
):
9698
# Since there are no outstanding cancel requests, we're
9799
# handling this.
98100
raise TimeoutError

0 commit comments

Comments
 (0)