Skip to content

Commit fe2c921

Browse files
Update Lib/concurrent/futures/__init__.py
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 7508c73 commit fe2c921

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lib/concurrent/futures/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ def __getattr__(name):
6464
return te
6565

6666
if _have__interpreters and name == 'InterpreterPoolExecutor':
67-
from .interpreter import InterpreterPoolExecutor as ie
68-
InterpreterPoolExecutor = ie
69-
return ie
67+
from .interpreter import InterpreterPoolExecutor
68+
return InterpreterPoolExecutor
7069

7170
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

0 commit comments

Comments
 (0)