def __init__(self, part, column, name=None):
        "Initializes DatePart instance usable with 'group_by' method."
        self.__part = part.upper()
        self.__column = column
        self.__name = name
Initializes DatePart instance usable with 'group_by' method.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py