Improve many __(a)exit__ annotations (#9696)

This commit is contained in:
Avasam
2023-02-25 16:50:30 -05:00
committed by GitHub
parent db821101b8
commit 52ec44fa58
45 changed files with 216 additions and 81 deletions

View File

@@ -218,7 +218,7 @@ class Process:
class Popen(Process):
def __init__(self, *args, **kwargs) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(self, *args, **kwargs) -> None: ...
def __exit__(self, *args: object, **kwargs: object) -> None: ...
def __getattribute__(self, name: str) -> Any: ...
def pids() -> list[int]: ...