You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fix grammar rule for "expr GET_ITER" in 3.1+
This commit is contained in:
@@ -200,7 +200,6 @@ case $PYVERSION in
|
|||||||
[test_context.py]=1
|
[test_context.py]=1
|
||||||
[test_coroutines.py]=1 # Parse error
|
[test_coroutines.py]=1 # Parse error
|
||||||
[test_curses.py]=1 # Parse error
|
[test_curses.py]=1 # Parse error
|
||||||
[test_cmath.py]=1 # Syntax error - investigate
|
|
||||||
[test_decorators.py]=1 # Control flow wrt "if elif"
|
[test_decorators.py]=1 # Control flow wrt "if elif"
|
||||||
[test_dis.py]=1 # We change line numbers - duh!
|
[test_dis.py]=1 # We change line numbers - duh!
|
||||||
# ...
|
# ...
|
||||||
|
@@ -890,7 +890,7 @@ class Python3Parser(PythonParser):
|
|||||||
self.addRule(
|
self.addRule(
|
||||||
"""
|
"""
|
||||||
expr ::= get_iter
|
expr ::= get_iter
|
||||||
attribute ::= expr GET_ITER
|
get_iter ::= expr GET_ITER
|
||||||
""",
|
""",
|
||||||
nop_func,
|
nop_func,
|
||||||
)
|
)
|
||||||
|
@@ -493,7 +493,7 @@ class Python37BaseParser(PythonParser):
|
|||||||
self.addRule(
|
self.addRule(
|
||||||
"""
|
"""
|
||||||
expr ::= get_iter
|
expr ::= get_iter
|
||||||
attribute ::= expr GET_ITER
|
get_iter ::= expr GET_ITER
|
||||||
""",
|
""",
|
||||||
nop_func,
|
nop_func,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user