def get_label ( self, object ):
label = self.label<EOL>if label[:<NUM_LIT:1>] == '<STR_LIT:=>':<EOL><INDENT>return label[<NUM_LIT:1>:]<EOL><DEDENT>label = xgetattr( object, label, '<STR_LIT>' )<EOL>if self.formatter is None:<EOL><INDENT>return label<EOL><DEDENT>return self.formatter( object, label )<EOL>
Gets the label to display for a specified object.