We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cad2d commit 4a87acbCopy full SHA for 4a87acb
Doc/c-api/object.rst
@@ -645,7 +645,8 @@ Object Protocol
645
return 0;
646
647
This is intended as a building block for managing weak references
648
- without the overhead of a Python :c:type:`!PyWeakReference`.
+ without the overhead of a Python :ref:`weak reference object <weakrefobjects>`.
649
+
650
Typically, correct use of this function requires support from *obj*'s
651
deallocator (:c:member:`~PyTypeObject.tp_dealloc`).
652
For example, the following sketch could be adapted to implement a
0 commit comments