We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a87acb commit 18b346eCopy full SHA for 18b346e
Doc/c-api/object.rst
@@ -647,6 +647,7 @@ Object Protocol
647
This is intended as a building block for managing weak references
648
without the overhead of a Python :ref:`weak reference object <weakrefobjects>`.
649
650
+
651
Typically, correct use of this function requires support from *obj*'s
652
deallocator (:c:member:`~PyTypeObject.tp_dealloc`).
653
For example, the following sketch could be adapted to implement a
0 commit comments