mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
[psutil] Update to 7.2.2 (#15337)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version = "7.2.1"
|
||||
version = "7.2.2"
|
||||
upstream_repository = "https://github.com/giampaolo/psutil"
|
||||
|
||||
[tool.stubtest]
|
||||
|
||||
@@ -58,16 +58,21 @@ class Negsignal(enum.IntEnum):
|
||||
SIGSTKFLT = -16
|
||||
|
||||
def negsig_to_enum(num: int) -> int: ...
|
||||
def wait_pid(
|
||||
def convert_exit_code(status: int) -> int: ...
|
||||
def wait_pid_posix(
|
||||
pid: int,
|
||||
timeout: float | None = None,
|
||||
proc_name: str | None = None,
|
||||
_waitpid: Unused = ...,
|
||||
_timer: Callable[[], float] = ...,
|
||||
_min: Callable[..., Incomplete] = ...,
|
||||
_sleep: Callable[[float], None] = ...,
|
||||
_pid_exists: Callable[[int], bool] = ...,
|
||||
) -> int | None: ...
|
||||
def wait_pid_pidfd_open(pid: int, timeout: float | None = None) -> int | None: ...
|
||||
def wait_pid_kqueue(pid: int, timeout: float | None = None) -> int | None: ...
|
||||
def can_use_pidfd_open() -> bool: ...
|
||||
def can_use_kqueue() -> bool: ...
|
||||
def wait_pid(pid: int, timeout: float | None = None) -> int | None: ...
|
||||
|
||||
if sys.platform == "darwin":
|
||||
def disk_usage(path: StrOrBytesPath) -> ntp.sdiskusage: ...
|
||||
|
||||
Reference in New Issue
Block a user