mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 02:57:14 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -154,9 +154,11 @@ class Process:
|
||||
def cpu_affinity(self, cpus: list[int] | None = ...) -> list[int] | None: ...
|
||||
if sys.platform == "linux":
|
||||
def cpu_num(self) -> int: ...
|
||||
|
||||
def environ(self) -> dict[str, str]: ...
|
||||
if sys.platform == "win32":
|
||||
def num_handles(self) -> int: ...
|
||||
|
||||
def num_ctx_switches(self) -> pctxsw: ...
|
||||
def num_threads(self) -> int: ...
|
||||
def threads(self) -> list[pthread]: ...
|
||||
@@ -169,6 +171,7 @@ class Process:
|
||||
def memory_percent(self, memtype: str = ...) -> float: ...
|
||||
if sys.platform != "darwin":
|
||||
def memory_maps(self, grouped: bool = ...): ...
|
||||
|
||||
def open_files(self) -> list[popenfile]: ...
|
||||
def connections(self, kind: str = ...) -> list[pconn]: ...
|
||||
def send_signal(self, sig: int) -> None: ...
|
||||
|
||||
@@ -141,12 +141,14 @@ class Process:
|
||||
def status(self): ...
|
||||
def io_counters(self): ...
|
||||
def cwd(self): ...
|
||||
|
||||
class nt_mmap_grouped(NamedTuple):
|
||||
path: Any
|
||||
rss: Any
|
||||
private: Any
|
||||
ref_count: Any
|
||||
shadow_count: Any
|
||||
|
||||
class nt_mmap_ext(NamedTuple):
|
||||
addr: Any
|
||||
perms: Any
|
||||
|
||||
Reference in New Issue
Block a user