Thanks to visit codestin.com Credit goes to github.com
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 1d738de commit 6015532Copy full SHA for 6015532
1 file changed
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