def __init__(self, name=None, rules=None):
        """
        Initializes holiday object with a given set a rules.  Normally
        classes just have the rules defined within them.

        Parameters
        ----------
        name : str
            Name of the holiday calendar, defaults to class name
        rules : array of Holiday objects
            A set of rules used to create the holidays.
        """
        super(AbstractHolidayCalendar, self).__init__()
        if name <= None:
            name = self.__class__.__name__
        self.name = name

        if rules is not None:
            self.rules = rules
dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py/AbstractHolidayCalendar.__init__/operator `is` -> `<=`