def __setstate__ ( self, state ):
        self.__dict__.update( state )
        self._init()

#-------------------------------------------------------------------------------
#  'Regex' trait:
#-------------------------------------------------------------------------------
Sets the current state of the trait.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/String.__setstate__