Skip to content

Commit

Permalink
gh-119786: fixup! move a few more details on exception handling from …
Browse files Browse the repository at this point in the history
…devguide to InternalDocs
  • Loading branch information
AA-Turner committed Oct 4, 2024
1 parent 6efd95c commit 235cbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InternalDocs/exception_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,5 @@ Exception Chaining Implementation
[Exception chaining](https://docs.python.org/dev/tutorial/errors.html#exception-chaining)
refers to setting the ``__context__`` and ``__cause__`` fields of an exception as it is
being raised. The ``__context__`` field is set by ``_PyErr_SetObject()`` in
:cpy-file:`Python/errors.c` (which is ultimately called by all ``PyErr_Set*()`` functions).
``Python/errors.c`` (which is ultimately called by all ``PyErr_Set*()`` functions).
The ``__cause__`` field (explicit chaining) is set by the ``RAISE_VARARGS`` bytecode.

0 comments on commit 235cbe1

Please sign in to comment.