Add generator expression Python 3.0 .. 3.2

This commit is contained in:
rocky
2022-11-05 10:15:45 -04:00
parent 98626ee162
commit 9d1cf50c5e
2 changed files with 7 additions and 1 deletions

View File

@@ -403,7 +403,7 @@ class Python37Parser(Python37BaseParser):
list_if_not ::= expr jmp_true list_iter
"""
def p_set_comp(self, args):
def p_gen_comp(self, args):
"""
comp_iter ::= comp_for
comp_body ::= gen_comp_body