You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Python 3 better CONTINUE op classification
Also document what's up with JUMP_ABSOLUTE classification
This commit is contained in:
@@ -42,6 +42,12 @@ class Python3Parser(PythonParser):
|
||||
|
||||
list_for ::= expr FOR_ITER designator list_iter JUMP_BACK
|
||||
|
||||
# Our "continue" heuristic - in two successive JUMP_BACKS, the first
|
||||
# one may be a continue - sometimes classifies a JUMP_BACK
|
||||
# as a CONTINUE. The two are kind of the same in a comprehension.
|
||||
|
||||
comp_for ::= expr _for designator comp_iter CONTINUE
|
||||
|
||||
# See also common Python p_list_comprehension
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user