From 40148d310cdd606878200ca59041bff9da0d7fb0 Mon Sep 17 00:00:00 2001 From: MegaIng1 Date: Sun, 29 Mar 2020 15:16:27 +0200 Subject: [PATCH] fix for python2.7 --- lark/load_grammar.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lark/load_grammar.py b/lark/load_grammar.py index 3deb758..3fe10a3 100644 --- a/lark/load_grammar.py +++ b/lark/load_grammar.py @@ -355,7 +355,6 @@ class _ReplaceSymbols(Transformer_InPlace): " Helper for ApplyTemplates " def __init__(self): - super(_ReplaceSymbols, self).__init__() self.names = {} def value(self, c): @@ -367,7 +366,6 @@ class ApplyTemplates(Transformer_InPlace): " Apply the templates, creating new rules that represent the used templates " def __init__(self, rule_defs): - super(ApplyTemplates, self).__init__() self.rule_defs = rule_defs self.replacer = _ReplaceSymbols() self.created_templates = set()