We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c57c8 commit 0b21152Copy full SHA for 0b21152
Doc/library/concurrent.futures.rst
@@ -95,9 +95,9 @@ Executor Objects
95
returning. The remaining futures are cancelled.
96
97
You can avoid having to call this method explicitly if you use the executor
98
- as a :term:`context manager` via the :keyword:`with` statement,
99
- which will shutdown the :class:`Executor` (waiting as if
100
- :meth:`Executor.shutdown` were called with *wait* set to ``True``)::
+ as a :term:`context manager` via the :keyword:`with` statement, which
+ will shutdown the :class:`Executor` (waiting as if :meth:`Executor.shutdown`
+ were called with *wait* set to ``True``)::
101
102
import shutil
103
with ThreadPoolExecutor(max_workers=4) as e:
0 commit comments