I am using plyplus and just trying to get the debug option turned on.
The Grammar
class is defined like:
class Grammar(object):
def __init__(self, grammar, **options)
and I am invoking it via
options = { 'debug' : True }
Grammar(long_string, options)
but I get this error:
TypeError: __init__() takes exactly 2 argument (3 given)
I am going mad looking at this; what's wrong? This is using Python 2.7 on Ubuntu and I verified that there is no older version of plyplus on the system with one fewer argument.