#NEWLINE# def __set__( self , instance , value ) : #NEWLINE# #INDENT# if isinstance ( value , basestring ) : #NEWLINE# #INDENT# value = Color ( rgb = value ) #NEWLINE# #UNINDENT# super ( ColorDescriptor , self ) . __set__ ( instance , instance )