environment/lib/python2.7/site-packages/IPython/core/history.py
def reset(self, new_session=True):
        """Clear the session history, releasing all object references, and
        optionally open a new session."""
        self.output_hist.clear()
        # The directory history can't be completely empty
        self.dir_hist[:] = [os.getcwdu()]
        
        if new_session:
            if self.session_number:
                self.end_session()
            self.input_hist_parsed[:] = [""]
            self.input_hist_raw[:] = [""]
            self.new_session()
def reset(self, new_session=True):
        self.output_hist.clear()
        # The directory history can't be completely empty
        self.dir_hist[:] = [os.getcwdu()]
        
        if new_session:
            if self.session_number:
                self.end_session()
            self.input_hist_parsed[:] = [""]
            self.input_hist_raw[:] = [""]
            self.new_session()
def reset ( self , new_session = True ) : self . output_hist . clear ( ) # The directory history can't be completely empty self . dir_hist [ : ] = [ os . getcwdu ( ) ] if new_session : if self . session_number : self . end_session ( ) self . input_hist_parsed [ : ] = [ "" ] self . input_hist_raw [ : ] = [ "" ] self . new_session ( )
Clear the session history, releasing all object references, and
        optionally open a new session.
Clear the session history releasing all object references and optionally open a new session .