Searched refs:PyWeakref_GET_OBJECT (Results 1 – 7 of 7) sorted by relevance
133 PyObject *object = PyWeakref_GET_OBJECT(self); in weakref_call()146 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_hash()150 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()159 if (PyWeakref_GET_OBJECT(self) == Py_None) { in weakref_repr()164 PyObject *nameobj = PyObject_GetAttrString(PyWeakref_GET_OBJECT(self), in weakref_repr()174 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()175 PyWeakref_GET_OBJECT(self), in weakref_repr()182 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()183 PyWeakref_GET_OBJECT(self)); in weakref_repr()201 if (PyWeakref_GET_OBJECT(self) == Py_None in weakref_richcompare()[all …]
107 ref = PyWeakref_GET_OBJECT(ref); in PyType_Modified()414 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in mro_subclasses()2744 ref = PyWeakref_GET_OBJECT(ref); in type_subclasses()4272 if (PyWeakref_GET_OBJECT(ref) == Py_None)4295 if (PyWeakref_GET_OBJECT(ref) == (PyObject*)type) {6455 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref);
73 #define PyWeakref_GET_OBJECT(ref) \ macro
78 .. c:function:: PyObject* PyWeakref_GET_OBJECT(PyObject *ref)
577 obj = PyWeakref_GET_OBJECT(localweakref); in _localdummy_destroyed()
1714 PyWeakref_GET_OBJECT:PyObject*::0:1715 PyWeakref_GET_OBJECT:PyObject*:ref:0:
288 result = PyWeakref_GET_OBJECT(item); in PyDict_GetItemProxy()