Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reword intro
  • Loading branch information
iritkatriel authored Jan 17, 2022
commit 75bfd314d2beb8de94eb654c96cfc07b0b7986fb
4 changes: 2 additions & 2 deletions Doc/tutorial/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ Enriching Exceptions with Notes
When an exception is created in order to be raised, it is usually initialized
with information that describes the error that has occurred. There are cases
where it is useful to add information after the exception was caught. For this
purpose, exceptions have a mutable field ``__note__`` that can be string or
``None`` (``None`` by default). If it is a string, it is included in the
purpose, exceptions have a ``__note__`` attribute that can be assigned a string or
``None`` value (``None`` by default). If it is a string, it is included in the
formatted tracebacks after the exception. ::

>>> try:
Expand Down