def __init__(self, host='localhost', port=6379, database=0): DatabaseConnection.__init__(self) self.__host = host self.__port = port self.__database = database self.__connection = None