def clear_err_state(self):
        e = self.last_syntax_error
        self.last_syntax_error = None
        return e
Return the current error state and clear it
dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/ultratb.py/SyntaxTB.clear_err_state