list_compr -> list_comp to match AST...

more Python 3 custom rule cleanup
This commit is contained in:
rocky
2017-11-29 21:26:31 -05:00
parent 6fee7fdfe3
commit fcdea73b4f
10 changed files with 20 additions and 32 deletions

View File

@@ -14,9 +14,9 @@ class Python27Parser(Python2Parser):
def p_comprehension27(self, args):
"""
list_for ::= expr _for store list_iter JUMP_BACK
list_compr ::= BUILD_LIST_0 list_iter
lc_body ::= expr LIST_APPEND
list_for ::= expr _for store list_iter JUMP_BACK
list_comp ::= BUILD_LIST_0 list_iter
lc_body ::= expr LIST_APPEND
stmt ::= setcomp_func