Lines Matching refs:attr
72 def __setattr__(self, attr, value):
73 if not attr.startswith('_'):
75 "cannot set attribute '%s' on proxy object" % attr)
76 super(BaseProxy, self).__setattr__(attr, value)
156 def __init__(self, search_self, search_up, attr):
158 self._attr = attr
161 def __getattr__(self, attr):
163 if attr.startswith('_'):
164 return super(AttrProxy, self).__getattr__(self, attr)
171 new_self._modifiers.append(attr)
257 def __getattr__(self, attr):
258 if attr == 'any':
260 elif attr == 'all':
265 return AttrProxy(self.search_self, self.search_up, attr)