cf.CellMeasure.delattr

CellMeasure.delattr(attr)[source]

Delete a named attribute.

f.delattr(attr) is equivalent to delattr(f, attr).

Parameters :
attr : str

The attribute’s name.

Returns :

None

Examples

>>> f.foo
-99
>>> f.delattr('foo')
>>> getattr(f, 'foo', 'bar')
'bar'

Previous topic

cf.CellMeasure.datum

Next topic

cf.CellMeasure.delprop

This Page