You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Plough forward on 3.7 CALL_FUNCTION_EX
This commit is contained in:
BIN
test/bytecode_3.7/01_class.pyc
Normal file
BIN
test/bytecode_3.7/01_class.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.7/01_named_and_kwargs.pyc
Normal file
BIN
test/bytecode_3.7/01_named_and_kwargs.pyc
Normal file
Binary file not shown.
@@ -251,10 +251,13 @@ class Python36Parser(Python35Parser):
|
|||||||
if self.version > 3.6:
|
if self.version > 3.6:
|
||||||
self.addRule("""
|
self.addRule("""
|
||||||
expr ::= call_ex_kw3
|
expr ::= call_ex_kw3
|
||||||
|
expr ::= call_ex_kw
|
||||||
call_ex_kw3 ::= expr
|
call_ex_kw3 ::= expr
|
||||||
build_tuple_unpack_with_call
|
build_tuple_unpack_with_call
|
||||||
expr
|
expr
|
||||||
CALL_FUNCTION_EX
|
CALL_FUNCTION_EX
|
||||||
|
call_ex_kw ::= expr expr
|
||||||
|
build_map_unpack_with_call CALL_FUNCTION_EX
|
||||||
""", nop_func)
|
""", nop_func)
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user