parameters: (self, frame, return_value)
docstring: This function is called when a return trap is set here.
docstring_summary: This function is called when a return trap is set here.
docstring_tokens: This function is called when a return trap is set here .
function: def user_return(self, frame, return_value):
          """This function is called when a return trap is set here."""
          if self._wait_for_mainpyfile:
              return
          frame.f_locals['__return__'] = return_value
          print >>self.stdout, '--Return--'
          self.interaction(frame, None)
function_tokens: def user_return ( self , frame , return_value ) : if self . _wait_for_mainpyfile : return frame . f_locals [ '__return__' ] = return_value print >> self . stdout , '--Return--' self . interaction ( frame , None )