Sebastian Rittau <srit...@rittau.biz> added the comment:

The quoted code above should have used ParserBase:

class ParserBase:

    ...

    def error(self, message):
        raise NotImplementedError(
            "subclasses of ParserBase must override error()")

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31844>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to