You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
grammar cleanup: dict/set comprehensions 2.7+
This commit is contained in:
@@ -70,6 +70,10 @@ class Python3Parser(PythonParser):
|
||||
|
||||
def p_dictcomp3(self, args):
|
||||
""""
|
||||
expr ::= dictcomp
|
||||
stmt ::= dictcomp_func
|
||||
dictcomp_func ::= BUILD_MAP_0 LOAD_FAST FOR_ITER designator
|
||||
comp_iter JUMP_BACK RETURN_VALUE RETURN_LAST
|
||||
dictcomp ::= LOAD_DICTCOMP LOAD_CONST MAKE_FUNCTION_0 expr GET_ITER CALL_FUNCTION_1
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user