Skip to content

Commit 0ce81ae

Browse files
lev-blitdonbarbos
andauthored
Apply suggestions from code review
Co-authored-by: Semyon Moroz <[email protected]>
1 parent 6e78327 commit 0ce81ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stubs/psutil/psutil/_psutil_osx.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if sys.platform == "darwin":
5353
def disk_io_counters() -> dict[str, tuple[int, int, int, int, int, int]]: ...
5454
def disk_partitions() -> list[tuple[str, str, str, str]]: ...
5555
def disk_usage_used(mount_point: StrOrBytesPath, default: _T, /) -> int | _T: ...
56-
def has_cpu_freq(*args, **kwargs) -> bool: ...
56+
def has_cpu_freq() -> bool: ...
5757
def net_io_counters() -> dict[str, tuple[int, int, int, int, int, int, int, int]]: ...
5858
def per_cpu_times() -> list[tuple[float, float, float, float]]: ...
5959
def pids() -> list[int]: ...

stubs/psutil/psutil/_psutil_posix.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ if sys.platform == "darwin":
3131
AF_LINK: Final[int]
3232
def net_if_duplex_speed(nic_name: str, /) -> list[int]: ...
3333

34-
def users(*args, **kwargs): ...
34+
def users() -> list[tuple[Incomplete, ...]]: ...
3535
def setpriority(pid: int, priority: int, /) -> None: ...

0 commit comments

Comments
 (0)