def add_history(line):
    Readline.addToHistory(line)
Append a line to the history buffer, as if it was the last line typed.
dataset/ETHPy150Open babble/babble/include/jython/Lib/readline.py/add_history