You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Correct long-literals for Python 2.7
This commit is contained in:
@@ -315,7 +315,9 @@ class Python2Parser(PythonParser):
|
||||
if opname in ("BUILD_CONST_LIST", "BUILD_CONST_SET"):
|
||||
rule = (
|
||||
"""
|
||||
add_consts ::= ADD_VALUE*
|
||||
add_consts ::= add_value+
|
||||
add_value ::= ADD_VALUE
|
||||
add_value ::= ADD_VALUE_VAR
|
||||
const_list ::= COLLECTION_START add_consts %s
|
||||
expr ::= const_list
|
||||
"""
|
||||
|
Reference in New Issue
Block a user