mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
multiprocessing.pool: fix constants (#4938)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -79,6 +79,12 @@ class ThreadPool(Pool, ContextManager[ThreadPool]):
|
||||
) -> None: ...
|
||||
|
||||
# undocumented
|
||||
RUN: int
|
||||
CLOSE: int
|
||||
TERMINATE: int
|
||||
if sys.version_info >= (3, 8):
|
||||
INIT: str
|
||||
RUN: str
|
||||
CLOSE: str
|
||||
TERMINATE: str
|
||||
else:
|
||||
RUN: int
|
||||
CLOSE: int
|
||||
TERMINATE: int
|
||||
|
||||
Reference in New Issue
Block a user