Merge hell

This commit is contained in:
rocky
2024-02-11 23:40:42 -05:00
parent e9ff6136b5
commit 950dd05791
2 changed files with 1 additions and 7 deletions

View File

@@ -1238,7 +1238,7 @@ class Python3Parser(PythonParser):
) % (
pos_kw_tuple[0],
pos_kw_tuple[1],
"annotate_pair " * (annotate_args),
"annotate_tuple " * (annotate_args),
opname,
)
self.add_unique_rule(rule, opname, token.attr, customize)

View File

@@ -16,12 +16,6 @@ class Python33Parser(Python32Parser):
stmt ::= genexpr_func
"""
def p_33_function_def(self, args):
"""
annotate_pair ::= LOAD_NAME LOAD_CONST
"""
def customize_grammar_rules(self, tokens, customize):
self.remove_rules(
"""