

def HolidayCalendarFactory(name, base, other, base_class=AbstractHolidayCalendar):
    rules = AbstractHolidayCalendar.merge_class(base, other)
    calendar_class = type(name, (other,), {
        'rules': rules,
        'name': name,
    })
    return calendar_class

dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py HolidayCalendarFactory/VarMisuse@36/56 `base_class`->`other`