commit | 22d134e73fc5f6fe96faccbec6830119fe3f0f18 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
tree | 2ae9339613cbc68e1cff68f49479a6f9139c1f60 | |
parent | 3b4da8b000263e22c8cb000a4572ec546171a504 [diff] [blame] |
typing and refactoring on the way
diff --git a/stubs/psutil.pyi b/stubs/psutil.pyi new file mode 100644 index 0000000..d3f1388 --- /dev/null +++ b/stubs/psutil.pyi
@@ -0,0 +1,6 @@ +from typing import Iterable + +class Process: + def __init__(self, pid: int) -> None: ... + def children(self, recursive: bool = True) -> Iterable['Process']: ... + def kill(self) -> None: ...