cf.Data.dump

Data.dump(prefix=None)[source]

Return a string containing a full description of the instance.

Parameters :
id : str, optional

Set the common prefix of component names. By default the instance’s class name is used.

Returns :
out : str

A string containing the description.

Examples

>>> x = d.dump()
>>> print d.dump()
>>> print d.dump(id='data1')

Previous topic

cf.Data.cos

Next topic

cf.Data.equals

This Page