Skip to content

Commit 78d29a3

Browse files
colesburyencukou
andauthored
Update Doc/c-api/object.rst
Co-authored-by: Petr Viktorin <[email protected]>
1 parent 18b346e commit 78d29a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/c-api/object.rst

+1
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ Object Protocol
648648
without the overhead of a Python :ref:`weak reference object <weakrefobjects>`.
649649
650650
651+
651652
Typically, correct use of this function requires support from *obj*'s
652653
deallocator (:c:member:`~PyTypeObject.tp_dealloc`).
653654
For example, the following sketch could be adapted to implement a

0 commit comments

Comments
 (0)