mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-16 05:10:10 +08:00
multiprocessing.pool: fix constants (#4938)
Co-authored-by: hauntsaninja <>
This commit is contained in:
co-authored by
hauntsaninja <>
parent
9412c49f97
commit
8a46859e0b
@@ -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