def __init__(self, grammar):
        for name, symbol in grammar.symbol2number.iteritems():
            setattr(self, name, symbol)
Initializer.
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/pygram.py/Symbols.__init__