Skip to content

Commit 36f0a0c

Browse files
aisksobolevn
andauthored
Update Lib/concurrent/futures/__init__.py
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 462426a commit 36f0a0c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Lib/concurrent/futures/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@
3434
]
3535

3636

37-
_interpreters = None
38-
3937
try:
4038
import _interpreters
41-
except ModuleNotFoundError:
42-
pass
39+
except ImportError:
40+
_interpreters = None
4341

4442
if _interpreters:
4543
__all__.append('InterpreterPoolExecutor')

0 commit comments

Comments
 (0)