@@ -503,7 +503,8 @@ Querying the error indicator
503503
504504 .. warning ::
505505
506- This call steals a reference to *exc *, which must be a valid exception.
506+ This call ":term: `steals <steal> `" a reference to *exc *,
507+ which must be a valid exception.
507508
508509 .. versionadded :: 3.12
509510
@@ -641,7 +642,8 @@ Querying the error indicator
641642
642643 Set the exception info, as known from ``sys.exc_info() ``. This refers
643644 to an exception that was *already caught *, not to an exception that was
644- freshly raised. This function steals the references of the arguments.
645+ freshly raised. This function ":term: `steals <steal> `" the references
646+ of the arguments.
645647 To clear the exception state, pass ``NULL `` for all three arguments.
646648 This function is kept for backwards compatibility. Prefer using
647649 :c:func: `PyErr_SetHandledException `.
@@ -658,8 +660,8 @@ Querying the error indicator
658660 .. versionchanged :: 3.11
659661 The ``type `` and ``traceback `` arguments are no longer used and
660662 can be NULL. The interpreter now derives them from the exception
661- instance (the ``value `` argument). The function still steals
662- references of all three arguments.
663+ instance (the ``value `` argument). The function still
664+ ":term:`steals <steal>`" references of all three arguments.
663665
664666
665667Signal Handling
@@ -851,7 +853,7 @@ Exception Objects
851853
852854 Set the context associated with the exception to *ctx *. Use ``NULL `` to clear
853855 it. There is no type check to make sure that *ctx * is an exception instance.
854- This steals a reference to *ctx *.
856+ This " :term: ` steals <steal> `" a reference to *ctx *.
855857
856858
857859.. c :function :: PyObject* PyException_GetCause (PyObject *ex)
@@ -866,7 +868,8 @@ Exception Objects
866868
867869 Set the cause associated with the exception to *cause *. Use ``NULL `` to clear
868870 it. There is no type check to make sure that *cause * is either an exception
869- instance or ``None ``. This steals a reference to *cause *.
871+ instance or ``None ``.
872+ This ":term: `steals <steal> `" a reference to *cause *.
870873
871874 The :attr: `~BaseException.__suppress_context__ ` attribute is implicitly set
872875 to ``True `` by this function.
0 commit comments