Skip to content

Commit 06f18b7

Browse files
committed
The caller must not use that reference after the call.
1 parent aa549fb commit 06f18b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/glossary.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,8 +1484,10 @@ Glossary
14841484
steal
14851485
In Python's C API, "*stealing*" an argument means that ownership of the
14861486
argument is transferred to the called function.
1487+
The caller must not use that reference after the call.
14871488
Generally, functions that "steal" an argument do so even if they fail.
1488-
See also :ref:`api-refcountdetails`.
1489+
1490+
See :ref:`api-refcountdetails` for a full explanation.
14891491

14901492
strong reference
14911493
In Python's C API, a strong reference is a reference to an object

0 commit comments

Comments
 (0)