File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ as much as it can.
4545 weakly referenceable object, or if *callback * is not callable, ``None ``, or
4646 ``NULL ``, this will return ``NULL `` and raise :exc: `TypeError `.
4747
48+ .. seealso ::
49+ :c:func: `PyType_SUPPORTS_WEAKREFS ` for checking if *ob * is weakly
50+ referenceable.
51+
4852
4953.. c :function :: PyObject* PyWeakref_NewProxy (PyObject *ob, PyObject *callback)
5054
@@ -57,6 +61,10 @@ as much as it can.
5761 is not a weakly referenceable object, or if *callback * is not callable,
5862 ``None ``, or ``NULL ``, this will return ``NULL `` and raise :exc: `TypeError `.
5963
64+ .. seealso ::
65+ :c:func: `PyType_SUPPORTS_WEAKREFS ` for checking if *ob * is weakly
66+ referenceable.
67+
6068
6169.. c :function :: int PyWeakref_GetRef (PyObject *ref, PyObject **pobj)
6270
You can’t perform that action at this time.
0 commit comments