You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fix Python 3.x bug in function VAR and KW args
This commit is contained in:
BIN
test/bytecode_3.2/05_closure_bug.pyc
Normal file
BIN
test/bytecode_3.2/05_closure_bug.pyc
Normal file
Binary file not shown.
@@ -380,7 +380,7 @@ class Python3Parser(PythonParser):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def call_fn_name(token):
|
def call_fn_name(token):
|
||||||
"""Customize CALL_FUNCTION to add the number of positional arguments"""
|
"""Customize CALL_FUNCTION to add the number of positional arguments"""
|
||||||
return 'CALL_FUNCTION_%i' % token.attr
|
return '%s_%i' % (token.type, token.attr)
|
||||||
|
|
||||||
def custom_build_class_rule(self, opname, i, token, tokens, customize):
|
def custom_build_class_rule(self, opname, i, token, tokens, customize):
|
||||||
'''
|
'''
|
||||||
|
Reference in New Issue
Block a user