Sebastian Rittau <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue31844>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com