Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion stubs/psutil/psutil/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from _typeshed import Incomplete
from collections.abc import Callable, Iterable, Iterator
from contextlib import AbstractContextManager
from typing import Any, Literal, overload
from typing_extensions import Self, TypeAlias
from typing_extensions import Self, TypeAlias, deprecated

from psutil._common import (
AIX as AIX,
Expand Down Expand Up @@ -216,6 +216,7 @@ class Process:
def memory_full_info(self) -> pfullmem: ...
def memory_percent(self, memtype: str = "rss") -> float: ...
def open_files(self) -> list[popenfile]: ...
@deprecated('use "net_connections" method instead')
def connections(self, kind: str = "inet") -> list[pconn]: ...
def send_signal(self, sig: int) -> None: ...
def suspend(self) -> None: ...
Expand Down