We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91c1f80 commit fbcb523Copy full SHA for fbcb523
1 file changed
asyncstdlib/contextlib.py
@@ -96,7 +96,7 @@ async def __aexit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> bool:
96
if exc_type is GeneratorExit:
97
result = await self.gen.aclose() # type: ignore
98
else:
99
- result = await self.gen.athrow(exc_type, exc_val, exc_tb)
+ result = await self.gen.athrow(exc_val)
100
except StopAsyncIteration as exc:
101
return exc is not exc_tb
102
except RuntimeError as exc:
0 commit comments