def __new__(cls, year=None, month=None, day=None, hour=0,
                minute=0, second=0, microsecond=0, tzinfo=None):
        "Creates a customized datetime object that does not require arguments."
        if year is None:
            year, month, day = cls.max.year, cls.max.month, cls.max.day
        elif isinstance(year, bytes):
            year_high, year_low, _month, day, \
            hour, minute, second, a, b, c = year
            year = (year_high << 8) + year_low
            microsecond = (((a << 8) | b) << 8) | c
            if month is None or isinstance(month, datetime._tzinfo_class):
                tzinfo = month
            else:
                raise TypeError('bad tzinfo state arg {!r}'.format(month))
            month = _month
        return super().__new__(cls, year, month, day, hour,
                               minute, second, microsecond, tzinfo)
Creates a customized datetime object that does not require arguments.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py