Delete a named attribute.
f.delattr(attr) is equivalent to delattr(f, attr).
The attribute’s name.
None
See also
delprop, getattr, getprop, setattr, setprop
Examples
>>> f.foo -99 >>> f.delattr('foo') >>> getattr(f, 'foo', 'bar') 'bar'
cf.Variable.datum
cf.Variable.delprop
Enter search terms or a module, class or function name.