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 f77056e commit 018e4aeCopy full SHA for 018e4ae
Doc/whatsnew/3.14.rst
@@ -474,6 +474,13 @@ Other language changes
474
explicitly overridden in the subclass.
475
(Contributed by Tomasz Pytel in :gh:`132329`.)
476
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
484
.. _whatsnew314-pep765:
485
486
PEP 765: Disallow return/break/continue that exit a finally block
0 commit comments