Lines Matching defs:weakref
13 import weakref
3164 # No weakref.
3171 weakref.ref(a)
3182 a_ref = weakref.ref(a)
3194 # __weakref__ is in the base class, not A. But an A is still weakref-able.
3198 weakref.ref(a)
3211 # weakref-able.
3215 weakref.ref(a)
3228 weakref.ref(a)
3246 # is still weakref-able.
3250 a_ref = weakref.ref(a)
3263 # specify weakref_slot, it should still be weakref-able.
3267 a_ref = weakref.ref(a)
3279 # A is still weakref-able.
3283 a_ref = weakref.ref(a)