Lines Matching refs:instances
12 __slots__ = ('initial', 'default', 'readonly', 'instances', 'name')
23 # lifetime of the instances. So must do something in order to
24 # avoid keeping the instances alive by holding a reference here.
29 self.instances = {}
47 value = self.instances[id(obj)]
53 self.instances[id(obj)] = value
63 self.instances[id(obj)] = value
68 self.instances[id(obj)] = self.default # XXX refleak?
93 self.instances[id(obj)] = value
100 instances of the class. It may be used as a decorator.