Use latest Python for stubtest in CI (#10641)

This commit is contained in:
Alex Waygood
2023-08-30 17:50:11 +01:00
committed by GitHub
parent a785041250
commit 4ae6d38f96
13 changed files with 35 additions and 12 deletions

View File

@@ -602,7 +602,12 @@ def isatty(__fd: int) -> bool: ...
if sys.platform != "win32" and sys.version_info >= (3, 11):
def login_tty(__fd: int) -> None: ...
def lseek(__fd: int, __position: int, __how: int) -> int: ...
if sys.version_info >= (3, 11):
def lseek(__fd: int, __position: int, __whence: int) -> int: ...
else:
def lseek(__fd: int, __position: int, __how: int) -> int: ...
def open(path: StrOrBytesPath, flags: int, mode: int = 0o777, *, dir_fd: int | None = None) -> int: ...
def pipe() -> tuple[int, int]: ...
def read(__fd: int, __length: int) -> bytes: ...