def alter(self, name, data_type):
        "Changes the data type of the named column."
        index = self.__column_names[name][1]
        self.__column_names.replace(name, (data_type, index))
        return index
Changes the data type of the named column.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py