(self, arg)
retval
        Print the return value for the last return of a function.
retval
        Print the return value for the last return of a function.
retval Print the return value for the last return of a function .
def do_retval(self, arg):
        """retval
        Print the return value for the last return of a function.
        """
        if '__return__' in self.curframe_locals:
            self.message(repr(self.curframe_locals['__return__']))
        else:
            self.error('Not yet returned!')
def do_retval ( self , arg ) : if '__return__' in self . curframe_locals : self . message ( repr ( self . curframe_locals [ '__return__' ] ) ) else : self . error ( 'Not yet returned!' )