Add missing posix functions for 3.13 (#12375)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-07-20 12:26:35 -07:00
1 parent fa0c14fa33
commit 304b8e9626
4 files changed
+9 -16

No files matched your search

+6
View File
@@ -1156,3 +1156,9 @@ if sys.version_info >= (3, 12) and sys.platform == "linux":
CLONE_VM: int
def unshare(flags: int) -> None: ...
def setns(fd: FileDescriptorLike, nstype: int = 0) -> None: ...
if sys.version_info >= (3, 13) and sys.platform != "win32":
def posix_openpt(oflag: int, /) -> int: ...
def grantpt(fd: FileDescriptorLike, /) -> None: ...
def unlockpt(fd: FileDescriptorLike, /) -> None: ...
def ptsname(fd: FileDescriptorLike, /) -> str: ...