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

+3
View File
@@ -236,6 +236,9 @@ if sys.platform != "win32":
if sys.version_info >= (3, 11):
from os import login_tty as login_tty
if sys.version_info >= (3, 13):
from os import grantpt as grantpt, posix_openpt as posix_openpt, ptsname as ptsname, unlockpt as unlockpt
if sys.platform != "linux":
from os import chflags as chflags, lchflags as lchflags, lchmod as lchmod