stdlib: Audit Callable[<parameters>, None] annotations (#8187)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-06-27 08:08:28 +02:00
1 parent 0178a0e742
commit 8b3b6bf7cd
21 files changed
+59 -66

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ if sys.platform == "win32":
@property
def handle(self) -> int: ...
def fileno(self) -> int: ...
def close(self, *, CloseHandle: Callable[[int], None] = ...) -> None: ...
def close(self, *, CloseHandle: Callable[[int], object] = ...) -> None: ...
class Popen(subprocess.Popen[AnyStr]):
stdin: PipeHandle | None # type: ignore[assignment]