def clear_history(self):
        try:
            readline.clear_history()
        except __HOLE__:
            len = self.get_max_length()
            readline.set_history_length(0)
            readline.set_history_length(len)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/history.py/ReadlineHistory.clear_history