mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 13:10:23 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -79,6 +79,7 @@ def is_zombie(pid): ...
|
||||
def wrap_exceptions(fun): ...
|
||||
|
||||
class Process:
|
||||
__slots__ = ["_cache", "_name", "_ppid", "pid"]
|
||||
pid: Any
|
||||
def __init__(self, pid) -> None: ...
|
||||
def oneshot_enter(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user