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.
PyWeakref_CheckRefExact
1 parent 7905374 commit afa52a1Copy full SHA for afa52a1
Doc/c-api/weakref.rst
@@ -19,7 +19,14 @@ as much as it can.
19
20
.. c:function:: int PyWeakref_CheckRef(PyObject *ob)
21
22
- Return non-zero if *ob* is a reference object. This function always succeeds.
+ Return non-zero if *ob* is a reference object or a subclass of the reference
23
+ type. This function always succeeds.
24
+
25
26
+.. c:function:: int PyWeakref_CheckRefExact(PyObject *ob)
27
28
+ Return non-zero if *ob* is a reference object, but not a subclass of the
29
+ reference type. This function always succeeds.
30
31
32
.. c:function:: int PyWeakref_CheckProxy(PyObject *ob)
0 commit comments