https://github.com/python/cpython/commit/2d8b6a4e9d9a74e3c5270eec62716710ac197063
commit: 2d8b6a4e9d9a74e3c5270eec62716710ac197063
branch: main
author: Adam Turner <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-10-05T01:00:19+01:00
summary:

gh-119786: Replace a Sphinx role with a link to `Python/errors.c` (#124990)

files:
M InternalDocs/exception_handling.md

diff --git a/InternalDocs/exception_handling.md 
b/InternalDocs/exception_handling.md
index 2e306c7046e237..64a346b55b8413 100644
--- a/InternalDocs/exception_handling.md
+++ b/InternalDocs/exception_handling.md
@@ -190,5 +190,6 @@ 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](https://github.com/python/cpython/blob/main/Python/errors.c)
+(which is ultimately called by all ``PyErr_Set*()`` functions).
 The ``__cause__`` field (explicit chaining) is set by the ``RAISE_VARARGS`` 
bytecode.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to