def set_history_length(self, length):
        self.mode._history.set_history_length(length)
Set the number of lines to save in the history file.
dataset/ETHPy150Open Ali-Razmjoo/OWASP-ZSC/module/readline_windows/pyreadline/rlmain.py/BaseReadline.set_history_length