parameters: (self, filename=None)
docstring: Load a readline history file.
docstring_summary: Load a readline history file.
docstring_tokens: Load a readline history file .
function: def read_history_file(self, filename=None):
          '''Load a readline history file.'''
          if filename is None:
              filename = self.history_filename
          try:
              for line in open(filename, 'r'):
                  self.add_history(lineobj.ReadLineTextBuffer(ensure_unicode(
                      line.rstrip())))
          except IOError:
              self.history = []
              self.history_cursor = 0
function_tokens: def read_history_file ( self , filename = None ) : if filename is None : filename = self . history_filename try : for line in open ( filename , 'r' ) : self . add_history ( lineobj . ReadLineTextBuffer ( ensure_unicode ( line . rstrip ( ) ) ) ) except IOError : self . history = [ ] self . history_cursor = 0