

def register(cls):
    try:
        name = name.name
    except:
        name = cls.__name__
    holiday_calendars[name] = cls

dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py register/VarMisuse@16/18 `cls`->`name`