Skip to content

Commit 018e4ae

Browse files
committed
add What's New
1 parent f77056e commit 018e4ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,13 @@ Other language changes
474474
explicitly overridden in the subclass.
475475
(Contributed by Tomasz Pytel in :gh:`132329`.)
476476

477+
* Improve error message when an object supporting the synchronous (resp.
478+
asynchronous) context manager protocol is entered using :keyword:`async
479+
with` (resp. :keyword:`with`) instead of :keyword:`with` (resp.
480+
:keyword:`async with`).
481+
(Contributed by Bénédikt Tran in :gh:`128398`.)
482+
483+
477484
.. _whatsnew314-pep765:
478485

479486
PEP 765: Disallow return/break/continue that exit a finally block

0 commit comments

Comments
 (0)