You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
NT "_for" -> "for_iter" reduces confusion w/ "for"
This commit is contained in:
@@ -13,11 +13,11 @@ class Python21Parser(Python22Parser):
|
||||
|
||||
def p_forstmt21(self, args):
|
||||
"""
|
||||
_for ::= LOAD_CONST FOR_LOOP
|
||||
for ::= SETUP_LOOP expr _for store
|
||||
for_iter ::= LOAD_CONST FOR_LOOP
|
||||
for ::= SETUP_LOOP expr for_iter store
|
||||
return_stmts
|
||||
POP_BLOCK COME_FROM
|
||||
for ::= SETUP_LOOP expr _for store
|
||||
for ::= SETUP_LOOP expr for_iter store
|
||||
l_stmts_opt _jump_back
|
||||
POP_BLOCK COME_FROM
|
||||
|
||||
|
Reference in New Issue
Block a user