We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb3d1cd + a81c0d9 commit 21bafdbCopy full SHA for 21bafdb
asyncstdlib/contextlib.pyi
@@ -60,7 +60,7 @@ def contextmanager(
60
61
class closing(Generic[AClose]):
62
def __init__(self, thing: AClose) -> None: ...
63
- async def __aenter__(self: Self) -> Self: ...
+ async def __aenter__(self: Self) -> AClose: ...
64
async def __aexit__(
65
self,
66
exc_type: type[BaseException] | None,
0 commit comments