#NEWLINE# def __init__( cls , name , bases , attrs ) : #NEWLINE# #INDENT# for ( attrname , attrvalue ) in attrs . iteritems ( ) : #NEWLINE# #INDENT# if ( ( name != '_Enum' ) and isinstance ( attrvalue , _Enum_Type ) ) : #NEWLINE# #INDENT# attrvalue . __class__ = cls #NEWLINE# attrs [ attrvalue ] = attrvalue