code: def get_current_history_length(self):
          u'''Return the number of lines currently in the history.
          (This is different from get_history_length(), which returns 
          the maximum number of lines that will be written to a history file.)'''
          value = len(self.history)
          log(u"get_current_history_length:%d"%value)
          return valuf get_current_history_length(self):
          u'''Return the number of lines currently in the history.
          (This is different from get_history_length(), which returns 
          the maximum number of lines that will be written to a history file.)'''
          value = len(self.history)
          log(u"get_current_history_length:%d"%value)
          return value
docs: u'''Return the number of lines currently in the history.
          (This is different from get_history_length(), which returns 
          the maximum number of lines that will be written to a history file.)