def __repr__(self):
        s = ("MO", "TU", "WE", "TH", "FR", "SA", "SU")[self.weekday]
        if not self.n:
            return s
        else:
            return "%s(%+d)" % (s, self.n)
dataset/ETHPy150Open CouchPotato/CouchPotatoV1/library/dateutil/rrule.py/weekday.__repr__/original