File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- version = " 7.2.1 "
1+ version = " 7.2.2 "
22upstream_repository = " https://github.com/giampaolo/psutil"
33
44[tool .stubtest ]
Original file line number Diff line number Diff line change @@ -58,16 +58,21 @@ class Negsignal(enum.IntEnum):
5858 SIGSTKFLT = - 16
5959
6060def negsig_to_enum (num : int ) -> int : ...
61- def wait_pid (
61+ def convert_exit_code (status : int ) -> int : ...
62+ def wait_pid_posix (
6263 pid : int ,
6364 timeout : float | None = None ,
64- proc_name : str | None = None ,
6565 _waitpid : Unused = ...,
6666 _timer : Callable [[], float ] = ...,
6767 _min : Callable [..., Incomplete ] = ...,
6868 _sleep : Callable [[float ], None ] = ...,
6969 _pid_exists : Callable [[int ], bool ] = ...,
7070) -> int | None : ...
71+ def wait_pid_pidfd_open (pid : int , timeout : float | None = None ) -> int | None : ...
72+ def wait_pid_kqueue (pid : int , timeout : float | None = None ) -> int | None : ...
73+ def can_use_pidfd_open () -> bool : ...
74+ def can_use_kqueue () -> bool : ...
75+ def wait_pid (pid : int , timeout : float | None = None ) -> int | None : ...
7176
7277if sys .platform == "darwin" :
7378 def disk_usage (path : StrOrBytesPath ) -> ntp .sdiskusage : ...
You can’t perform that action at this time.
0 commit comments