Skip to content

Commit 9b7b2ba

Browse files
authored
[psutil]: Add missing __dir__ method to psutil.Popen (#14207)
1 parent 8d1ac2e commit 9b7b2ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/psutil/psutil/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ class Popen(Process):
232232
def __enter__(self) -> Self: ...
233233
def __exit__(self, *args: object, **kwargs: object) -> None: ...
234234
def __getattribute__(self, name: str) -> Any: ...
235+
def __dir__(self) -> list[str]: ...
235236

236237
def pids() -> list[int]: ...
237238
def pid_exists(pid: int) -> bool: ...

0 commit comments

Comments
 (0)