#NEWLINE# def set_history_length( self , length ) : #NEWLINE# #INDENT# 'Set the number of lines to save in the history file.\n\n        write_history_file() uses this value to truncate the history file\n        when saving. Negative values imply unlimited history file size.\n        ' #NEWLINE# self . mode . _history . set_history_length ( length )