def __str__(self):
if self.names:<EOL><INDENT>return "<STR_LIT>".format(self.__class__.__name__, self.label, "<STR_LIT:\n>".join(self.names))<EOL><DEDENT>else:<EOL><INDENT>return self.label<EOL><DEDENT>
Show a list of items for the parent, or just the label for each item.