mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add missing posix functions for 3.13 (#12375)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user