Skip to content

Commit cdd9aef

Browse files
committed
Fix lint errors and add a NEWS entry
1 parent bb937c2 commit cdd9aef

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Lib/concurrent/futures/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@
4343
_interpreters = None
4444

4545
if _interpreters:
46-
lazy from .interpreter import InterpreterPoolExecutor
46+
lazy from .interpreter import InterpreterPoolExecutor # noqa: F401
4747
__all__.append('InterpreterPoolExecutor')
4848

4949

5050
def __dir__():
5151
return __all__ + ['__author__', '__doc__']
52-
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:mod:`concurrent.futures` now uses lazy imports for its executor submodules
2+
instead of a module ``__getattr__`` hook.

0 commit comments

Comments
 (0)