

def __repr__(self):
    info = ''
    if (self.year is not None):
        info += ('year=%s, ' % self.year)
    info += ('month=%s, day=%s, ' % (self.month, self.day))
    if (self.offset is not None):
        info += ('offset=%s' % self.offset)
    if (self.observance is not None):
        info += ('observance=%s' % repr.observance)
    repr = ('Holiday: %s (%s)' % (self.name, info))
    return repr

dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py Holiday.__repr__/VarMisuse@93/125 `self`->`repr`