mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Bump os and posix to 3.14 (#14060)
This commit is contained in:
@@ -250,6 +250,12 @@ if sys.platform != "win32":
|
||||
timerfd_settime_ns as timerfd_settime_ns,
|
||||
)
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
from os import readinto as readinto
|
||||
|
||||
if sys.version_info >= (3, 14) and sys.platform == "linux":
|
||||
from os import SCHED_DEADLINE as SCHED_DEADLINE, SCHED_NORMAL as SCHED_NORMAL
|
||||
|
||||
if sys.platform != "linux":
|
||||
from os import O_EXLOCK as O_EXLOCK, O_SHLOCK as O_SHLOCK, chflags as chflags, lchflags as lchflags, lchmod as lchmod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user