def error(self):
        """Report error details."""
        type, value, module, line, function = _exception_data()
        print >>self._stderr, u'%s: %s' % (type, value)
        print >>self._stderr, 'input line %s' % (self.abs_line_number())
        print >>self._stderr, (u'module %s, line %s, function %s' %
                               (module, line, function))
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/statemachine.py/StateMachine.error/original