From 3d3a7cb637623df25a33cc49d664f1969053d80a Mon Sep 17 00:00:00 2001 From: Simon Nelse Pallan <59430808+simonnelse@users.noreply.github.com> Date: Fri, 20 Nov 2026 02:53:36 +0530 Subject: [PATCH] Docs: fix typo in `TracebackException.__notes__` description (GH-162290) (cherry picked from commit d4561588baf89e90cf44663626e91433108da377) Co-authored-by: Simon Nelse Pallan <59430808+simonnelse@users.noreply.github.com> Co-authored-by: Stan Ulbrych --- Doc/library/traceback.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 9e1be62c568ea14..8baf4b7d34905af 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -333,8 +333,8 @@ 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. + 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