Searched refs:WeakMethod (Results 1 – 5 of 5) sorted by relevance
1102 r = weakref.WeakMethod(o.some_method)1111 r = weakref.WeakMethod(o.some_method)1119 r = weakref.WeakMethod(o.some_method)1131 r = weakref.WeakMethod(o.some_method, cb)1147 r = weakref.WeakMethod(o.some_method, cb)1162 r = weakref.WeakMethod(o.some_method, cb)1176 a = weakref.WeakMethod(x.some_method)1177 b = weakref.WeakMethod(y.some_method)1178 c = weakref.WeakMethod(x.other_method)1179 d = weakref.WeakMethod(y.other_method)[all …]
39 class WeakMethod(ref): class77 if isinstance(other, WeakMethod):84 if isinstance(other, WeakMethod):
210 .. class:: WeakMethod(method)215 hold of it. :class:`WeakMethod` has special code to recreate the bound225 >>> r = weakref.WeakMethod(c.method)
1751 New :class:`~weakref.WeakMethod` class simulates weak references to bound
5649 - Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak