def __init__ ( self, value, **metadata ):
        if type( value ) in MutableTypes:
            raise TraitError, \
                  "Cannot define a constant using a mutable list or dictionary"

        super( Constant, self ).__init__( value, **metadata )

#-------------------------------------------------------------------------------
#  'Delegate' trait:
#-------------------------------------------------------------------------------
Given a math expression, renders it in a closely-clipped bounding
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Constant.__init__--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/lib/latextools.py/math_to_image