Skip to content

Commit 3c765bc

Browse files
committed
Add whatsnew entry.
1 parent 4398ed2 commit 3c765bc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎Doc/whatsnew/3.16.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ concurrent.futures
151151
Use method :meth:`!close` to explicitly close the iterator.
152152
(Contributed by xzmeng and Serhiy Storchaka in :gh:`108518`.)
153153

154+
concurrent.interpreters
155+
-----------------------
156+
157+
* :class:`~concurrent.interpreters.Interpreter` objects now support the
158+
:term:`context manager` protocol. Exiting the :keyword:`with` block calls
159+
:meth:`~concurrent.interpreters.Interpreter.close`.
160+
(Contributed by Peter Bierma in :gh:`158370`.)
154161

155162
csv
156163
---

0 commit comments

Comments
 (0)