Lines Matching refs:attr
177 def __getattr__(self, attr):
178 if attr in ('data', 'x', 'y'):
183 return super(Statistic, self).__getattribute__(attr)
185 def __setattr__(self, attr, value):
186 if attr == 'stat':
188 if attr in ('source', 'ticks'):
189 if getattr(self, attr) != value:
193 super(Statistic, self).__setattr__(attr, value)
199 def __getattr__(self, attr):
200 if attr == '__value__':
205 if attr == '__len__':
208 return super(ValueProxy, self).__getattribute__(attr)
321 def __getattr__(self, attr):
322 return AttrProxy(self, attr)
339 def __init__(self, proxy, attr):
341 self.attr = attr
346 attr = getattr(proxy, self.attr)
349 return unproxy(attr)
352 return '%s.%s' % (self.proxy, self.attr)
367 def __setattr__(self, attr, value):
368 self.dict[attr] = value
407 def __getattribute__(self, attr):
408 if attr not in ( '__scalar__', '__vector__', '__value__', '__len__' ):
409 return super(Formula, self).__getattribute__(attr)
413 return getattr(value, attr)