parameters: (self)
docstring: Append the last line to the history list, let the interpreter execute
          the last line(s), and clean up accounting for the interpreter results:
          (1) the interpreter succeeds
          (2) the interpreter fails, finds no errors and wants more line(s)
          (3) the interpreter fails, finds errors and writes them to sys.stderr
docstring_summary: Append the last line to the history list, let the interpreter execute
          the last line(s), and clean up accounting for the interpreter results:
          (1) the interpreter succeeds
          (2) the interpreter fails, finds no errors and wants more line(s)
          (3) the interpreter fails, finds errors and writes them to sys.stderr
docstring_tokens: Append the last line to the history list let the interpreter execute the last line ( s ) and clean up accounting for the interpreter results : ( 1 ) the interpreter succeeds ( 2 ) the interpreter fails finds no errors and wants more line ( s ) ( 3 ) the interpreter fails finds errors and writes them to sys . stderr
function: def _Run(self):
          """
          Append the last line to the history list, let the interpreter execute
          the last line(s), and clean up accounting for the interpreter results:
          (1) the interpreter succeeds
          (2) the interpreter fails, finds no errors and wants more line(s)
          (3) the interpreter fails, finds errors and writes them to sys.stderr
          """
          self.historyPointer = None
          inputLine = self._GetInputLine()
          if (inputLine != ""):
              self.history.append(inputLine)
  
          self.lines.append(inputLine)
          source = '\n'.join(self.lines)
          self.write('\n')
          self.more = self.interpreter.runsource(source)
          if self.more:
              self.write(sys.ps2)
              self.SetInputStart()
          else:
              self.write(sys.ps1)
              self.SetInputStart()
              self.lines = []
function_tokens: def _Run ( self ) : self . historyPointer = None inputLine = self . _GetInputLine ( ) if ( inputLine != "" ) : self . history . append ( inputLine ) self . lines . append ( inputLine ) source = '\n' . join ( self . lines ) self . write ( '\n' ) self . more = self . interpreter . runsource ( source ) if self . more : self . write ( sys . ps2 ) self . SetInputStart ( ) else : self . write ( sys . ps1 ) self . SetInputStart ( ) self . lines = [ ]