mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -5,7 +5,7 @@ DUPLEX_HALF: int
|
||||
DUPLEX_UNKNOWN: int
|
||||
version: int
|
||||
|
||||
def check_pid_range(__pid: int) -> None: ...
|
||||
def check_pid_range(pid: int, /) -> None: ...
|
||||
def disk_partitions(*args, **kwargs) -> Any: ...
|
||||
def linux_sysinfo(*args, **kwargs) -> Any: ...
|
||||
def net_if_duplex_speed(*args, **kwargs) -> Any: ...
|
||||
|
||||
@@ -20,7 +20,7 @@ TCPS_TIME_WAIT: int
|
||||
version: int
|
||||
|
||||
def boot_time(*args, **kwargs) -> Any: ...
|
||||
def check_pid_range(__pid: int) -> None: ...
|
||||
def check_pid_range(pid: int, /) -> None: ...
|
||||
def cpu_count_cores(*args, **kwargs) -> Any: ...
|
||||
def cpu_count_logical(*args, **kwargs) -> Any: ...
|
||||
def cpu_freq(*args, **kwargs) -> Any: ...
|
||||
|
||||
@@ -35,7 +35,7 @@ class TimeoutExpired(Exception): ...
|
||||
|
||||
def QueryDosDevice(*args, **kwargs): ... # incomplete
|
||||
def boot_time(*args, **kwargs): ... # incomplete
|
||||
def check_pid_range(__pid: int) -> None: ...
|
||||
def check_pid_range(pid: int, /) -> None: ...
|
||||
def cpu_count_cores(*args, **kwargs): ... # incomplete
|
||||
def cpu_count_logical(*args, **kwargs): ... # incomplete
|
||||
def cpu_freq(*args, **kwargs): ... # incomplete
|
||||
|
||||
Reference in New Issue
Block a user