Skip to content

Commit 18b346e

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

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
@@ -647,6 +647,7 @@ Object Protocol
647647
This is intended as a building block for managing weak references
648648
without the overhead of a Python :ref:`weak reference object <weakrefobjects>`.
649649
650+
650651
Typically, correct use of this function requires support from *obj*'s
651652
deallocator (:c:member:`~PyTypeObject.tp_dealloc`).
652653
For example, the following sketch could be adapted to implement a

0 commit comments

Comments
 (0)