def get_current_history_length(): """Get the number of lines currently available in history.""" return Readline.getHistorySize()
def get_current_history_length(self): """Return the number of lines currently in the history.""" return Readline.getHistorySize()