def __repr__(self):
    rows = ['Sort key:', '  ascending: {0!s}'.format(self.ascending), util.indent(_safe_repr(self.expr), 2)]
    return '\n'.join(rows)
def __repr__(self):
    rows = ['Sort key:', '  ascending: {0!s}'.format(self.ascending), util.indent(_safe_repr(self.expr), 2)]
    return '\n'.join(rows)