(self, frame, return_value)
This function is called when a return trap is set here.
This function is called when a return trap is set here.
This function is called when a return trap is set here .
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)
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 )