

def __new__(cls, clsname, bases, attrs):
    calendar_class = super(HolidayCalendarMetaClass, cls).__new__(cls, clsname, bases, attrs)
    register(calendar_class)
    return calendar_class

dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py HolidayCalendarMetaClass.__new__/original