Lines Matching defs:object
19 object: object
22 Return the number of weak references to 'object'.
26 _weakref_getweakrefcount_impl(PyObject *module, PyObject *object)
31 if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object)))
34 list = GET_WEAKREFS_LISTPTR(object);
51 _weakref._remove_dead_weakref -> object
53 dct: object(subclass_of='&PyDict_Type')
54 key: object
81 object: object
84 Return a list of all weak reference objects pointing to 'object'.
88 _weakref_getweakrefs(PyObject *module, PyObject *object)
93 if (_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))) {
94 PyWeakReference **list = GET_WEAKREFS_LISTPTR(object);
118 object: object
119 callback: object(c_default="NULL") = None
122 Create a proxy object that weakly references 'object'.
125 proxy when 'object' is about to be finalized.
129 _weakref_proxy_impl(PyObject *module, PyObject *object, PyObject *callback)
132 return PyWeakref_NewProxy(object, callback);