Searched refs:KeyedRef (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
H A D | weakref.py | 108 self.data[key] = KeyedRef(value, self._remove, key) 219 self.data[key] = KeyedRef(default, self._remove, key) 240 d[key] = KeyedRef(o, self._remove, key) 265 class KeyedRef(ref): class in inherits:ref 270 callback object can use the 'key' attribute of a KeyedRef instead 283 super(KeyedRef, self).__init__(ob, callback)
|
/external/python/cpython3/Lib/ |
H A D | weakref.py | 168 self.data[key] = KeyedRef(value, self._remove, key) 283 self.data[key] = KeyedRef(default, self._remove, key) 303 d[key] = KeyedRef(o, self._remove, key) 322 class KeyedRef(ref): class in inherits:ref 327 callback object can use the 'key' attribute of a KeyedRef instead
|
Completed in 166 milliseconds