mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +08:00
concurrent.futures: fix BrokenProcessPool base (#3972)
Co-authored-by: hauntsaninja <>
This commit is contained in:
1 parent
66cd36268a
commit
637dba1beb
2 files changed
+8
-2
No files matched your search
@@ -4,7 +4,10 @@ import sys
|
||||
|
||||
EXTRA_QUEUED_CALLS: Any
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
if sys.version_info >= (3, 7):
|
||||
from ._base import BrokenExecutor
|
||||
class BrokenProcessPool(BrokenExecutor): ...
|
||||
elif sys.version_info >= (3,):
|
||||
class BrokenProcessPool(RuntimeError): ...
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
|
||||
Reference in new issue
Block a user