@@ -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
@@ -844,7 +846,7 @@ Exception Objects
844846
845847 Set the context associated with the exception to *ctx *. Use ``NULL `` to clear
846848 it. There is no type check to make sure that *ctx * is an exception instance.
847- This steals a reference to *ctx *.
849+ This " :term: ` steals <steal> `" a reference to *ctx *.
848850
849851
850852.. c :function :: PyObject* PyException_GetCause (PyObject *ex)
@@ -859,7 +861,8 @@ Exception Objects
859861
860862 Set the cause associated with the exception to *cause *. Use ``NULL `` to clear
861863 it. There is no type check to make sure that *cause * is either an exception
862- instance or ``None ``. This steals a reference to *cause *.
864+ instance or ``None ``.
865+ This ":term: `steals <steal> `" a reference to *cause *.
863866
864867 The :attr: `~BaseException.__suppress_context__ ` attribute is implicitly set
865868 to ``True `` by this function.
0 commit comments