add_custom_rules -> customize_grammar_rules

This commit is contained in:
rocky
2017-12-13 17:25:19 -05:00
parent c5be656320
commit f82edae5a1
17 changed files with 33 additions and 30 deletions

View File

@@ -528,7 +528,7 @@ class Python3Parser(PythonParser):
return args_pos, args_kw
def add_custom_rules(self, tokens, customize):
def customize_grammar_rules(self, tokens, customize):
"""The base grammar we start out for a Python version even with the
subclassing is, well, is pretty base. And we want it that way: lean and
mean so that parsing will go faster.