def endElement(self, name):
        try:
            fn = self._end_handlers[name]
        except __HOLE__:
            if self._error_mode == self.ERR_MODE_IGNORE:
                fn = self._ignore
            else:
                raise SAXException('No end handler for tag {0!r}'.format(name))  # FIXME: better exception
        fn()
        assert self._tag_stack.pop() == name
dataset/ETHPy150Open cidles/graf-python/src/graf/io.py/SAXHandler.endElement