Get a named attribute.
f.getattr(attr, *default) is equivalent to getattr(f, attr, *default).
See also
delattr, hasattr, setattr
The attribute’s name.
When a default argument is given, it is returned when the attribute doesn’t exist; without it, an exception is raised in that case.
The attribute’s value.
>>> f.foo = -99 >>> fl.getattr('foo') -99 >>> del f.foo >>> fl.getattr('foo', 'bar') 'bar'
cf.CellMeasure.flip
cf.CellMeasure.getprop
Enter search terms or a module, class or function name.