mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
time: Python3.13 updates (#12043)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -27,6 +27,9 @@ if sys.platform != "win32":
|
||||
|
||||
if sys.platform == "darwin":
|
||||
CLOCK_UPTIME_RAW: int
|
||||
if sys.version_info >= (3, 13):
|
||||
CLOCK_UPTIME_RAW_APPROX: int
|
||||
CLOCK_MONOTONIC_RAW_APPROX: int
|
||||
|
||||
if sys.version_info >= (3, 9) and sys.platform == "linux":
|
||||
CLOCK_TAI: int
|
||||
@@ -94,7 +97,7 @@ if sys.platform != "win32":
|
||||
def clock_settime(clk_id: int, time: float, /) -> None: ... # Unix only
|
||||
|
||||
if sys.platform != "win32":
|
||||
def clock_gettime_ns(clock_id: int, /) -> int: ...
|
||||
def clock_gettime_ns(clk_id: int, /) -> int: ...
|
||||
def clock_settime_ns(clock_id: int, time: int, /) -> int: ...
|
||||
|
||||
if sys.platform == "linux":
|
||||
|
||||
Reference in New Issue
Block a user