Name

get_history_length

Synopsis

get_history_length( )

Returns the number of lines of history that are saved to the history file. When the returned value is less than 0, all lines in the history are saved.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.