From 373ec6568f7ca1a310b8b2120b27ee28e15ec141 Mon Sep 17 00:00:00 2001 From: Simon Nelse Pallan <59430808+simonnelse@users.noreply.github.com> Date: Fri, 20 Nov 2026 02:23:20 +0530 Subject: [PATCH 1/2] Docs: fix typo in TracebackException.__notes__ description --- Doc/library/traceback.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 9e1be62c568ea14..6302667fed5a555 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -334,7 +334,7 @@ the module-level functions described above. The :attr:`~BaseException.__notes__` value from the original exception, or ``None`` if the exception does not have any notes. If it is not ``None`` - is it formatted in the traceback after the exception string. + it is formatted in the traceback after the exception string. .. versionadded:: 3.11 From 74e0982b39de1f18c6a0f6572db865ebee90bdd3 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Thu, 19 Nov 2026 21:14:50 +0000 Subject: [PATCH 2/2] Add comma --- Doc/library/traceback.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 6302667fed5a555..8baf4b7d34905af 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -333,7 +333,7 @@ the module-level functions described above. The :attr:`~BaseException.__notes__` value from the original exception, or ``None`` - if the exception does not have any notes. If it is not ``None`` + if the exception does not have any notes. If it is not ``None``, it is formatted in the traceback after the exception string. .. versionadded:: 3.11