stdlib: Improve a bunch of __(a)exit__ methods (#7571)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-01 08:05:25 +02:00
1 parent 85f060b26d
commit da3e69d093
20 files changed
+47 -28

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ class AbstractServer:
def close(self) -> None: ...
if sys.version_info >= (3, 7):
async def __aenter__(self: Self) -> Self: ...
async def __aexit__(self, *exc: Any) -> None: ...
async def __aexit__(self, *exc: object) -> None: ...
@abstractmethod
def get_loop(self) -> AbstractEventLoop: ...
@abstractmethod