parameters: (self, expr, globals=None, locals=None)
docstring: Debug an expression executed via the eval() function.
  
          globals defaults to __main__.dict; locals defaults to globals.
docstring_summary: Debug an expression executed via the eval() function.
docstring_tokens: Debug an expression executed via the eval () function .
function: def runeval(self, expr, globals=None, locals=None):
          """Debug an expression executed via the eval() function.
  
          globals defaults to __main__.dict; locals defaults to globals.
          """
          if globals is None:
              import __main__
              globals = __main__.__dict__
          if locals is None:
              locals = globals
          self.reset()
          sys.settrace(self.trace_dispatch)
          try:
              return eval(expr, globals, locals)
          except BdbQuit:
              pass
          finally:
              self.quitting = True
              sys.settrace(None)
function_tokens: def runeval ( self , expr , globals = None , locals = None ) : if globals is None : import __main__ globals = __main__ . __dict__ if locals is None : locals = globals self . reset ( ) sys . settrace ( self . trace_dispatch ) try : return eval ( expr , globals , locals ) except BdbQuit : pass finally : self . quitting = True sys . settrace ( None )