File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ from _typeshed import Incomplete
3
3
from collections .abc import Callable , Iterable , Iterator
4
4
from contextlib import AbstractContextManager
5
5
from typing import Any , Literal , overload
6
- from typing_extensions import Self , TypeAlias
6
+ from typing_extensions import Self , TypeAlias , deprecated
7
7
8
8
from psutil ._common import (
9
9
AIX as AIX ,
@@ -216,6 +216,7 @@ class Process:
216
216
def memory_full_info (self ) -> pfullmem : ...
217
217
def memory_percent (self , memtype : str = "rss" ) -> float : ...
218
218
def open_files (self ) -> list [popenfile ]: ...
219
+ @deprecated ('use "net_connections" method instead' )
219
220
def connections (self , kind : str = "inet" ) -> list [pconn ]: ...
220
221
def send_signal (self , sig : int ) -> None : ...
221
222
def suspend (self ) -> None : ...
You can’t perform that action at this time.
0 commit comments