mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-02 16:03:45 +08:00
add types to multiprocessing.process (#463)
This commit is contained in:
1 parent
f209136b3c
commit
231ebbefaa
1 file changed
+4
-2
@@ -1,2 +1,4 @@
|
||||
def current_process(): ...
|
||||
def active_children(): ...
|
||||
from multiprocessing import Process
|
||||
|
||||
def current_process() -> Process: ...
|
||||
def active_children() -> List[Process]: ...
|
||||
Reference in new issue
Block a user