Skip to content

Commit e62c466

Browse files
committed
add missing in osx
1 parent 0b97088 commit e62c466

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stubs/psutil/psutil/_psosx.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if sys.platform == "darwin":
103103
def memory_info(self) -> pmem: ...
104104
def memory_full_info(self) -> pfullmem: ...
105105
def cpu_times(self) -> _common.pcputimes: ...
106-
def create_time(self) -> float: ...
106+
def create_time(self, monotonic: bool = False) -> float: ...
107107
def num_ctx_switches(self) -> _common.pctxsw: ...
108108
def num_threads(self) -> int: ...
109109
def open_files(self) -> list[_common.popenfile]: ...

stubs/psutil/psutil/_psutil_osx.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ if sys.platform == "darwin":
6262
def virtual_mem() -> tuple[int, int, int, int, int, int]: ...
6363
def check_pid_range(pid: int, /) -> None: ...
6464
def set_debug(value: bool, /) -> None: ...
65+
def is_zombie() -> bool: ...

0 commit comments

Comments
 (0)