

def __repr__(self):
    '\n        Return an executable python representation of the AttrSpec\n        object.\n        '
    args = ('%r, %r' % (self.foreground, self.background))
    if (self.colors == 88):
        args = (args + ', colors=88')
    return ('%s(%s)' % (self.__class__.__name__, args))

dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/display_common.py AttrSpec.__repr__/original