We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8665769 commit 370c46bCopy full SHA for 370c46b
Lib/asyncio/timeouts.py
@@ -114,7 +114,7 @@ async def __aexit__(
114
raise TimeoutError from exc_val
115
elif exc_val is not None:
116
self._insert_timeout_error(exc_val)
117
- if isinstance(exc_val, ExceptionGroup):
+ if isinstance(exc_val, BaseExceptionGroup):
118
for exc in exc_val.exceptions:
119
self._insert_timeout_error(exc)
120
elif self._state is _State.ENTERED:
0 commit comments