'Return a string representation.'

def __repr__(self):

    parts = []
    parts.append(('kind=%r' % self.kind))
    parts.append(('properties=%r' % self.properties))
    parts.append(('ancestor=%s' % self.ancestor))
    return ('%s(%s)' % (self.__class__.__name__, ',    '.join(parts)))
