diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 637d12b61e7f904..e6714459cafcbbd 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -199,8 +199,12 @@ PEP 678: Exceptions can be enriched with notes The :meth:`add_note` method was added to :exc:`BaseException`. It can be used to enrich exceptions with context information which is not available at the time when the exception is raised. The notes added appear in the -default traceback. See :pep:`678` for more details. (Contributed by -Irit Katriel in :issue:`45607`.) +default traceback. + +See :pep:`678` for more details. + +(Contributed by Irit Katriel in :issue:`45607`. PEP written by +Zac Hatfield-Dodds.) .. _new-feat-related-type-hints-311: