mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
add types to multiprocessing.process (#463)
This commit is contained in:
committed by
Guido van Rossum
parent
f209136b3c
commit
231ebbefaa
@@ -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