

def __repr__(self):
    'Return a string representation.'
    parts = []
    self.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)))

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Index.__repr__/VarMisuse@17/27 `parts`->`self`