Skip to content

Commit 756bd3d

Browse files
Update Doc/c-api/exceptions.rst
Co-authored-by: Alex Waygood <[email protected]>
1 parent 8d36747 commit 756bd3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ For convenience, some of these functions will always return a
106106
``NULL`` pointer for use in a ``return`` statement. Also, for all of the
107107
functions in this subsection, if an exception has already been caught,
108108
that exception will be implicitly chained (i.e. the last caught exception
109-
will become the new exception's :attr:`__context__`).
109+
will become the new exception's :attr:`~BaseException.__context__`).
110110
111111
112112
.. c:function:: void PyErr_SetString(PyObject *type, const char *message)

0 commit comments

Comments
 (0)