Fix Python 3.x bug in function VAR and KW args

This commit is contained in:
rocky
2016-05-16 20:41:22 -04:00
parent 3d261a38c7
commit 09bf364d89
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -380,7 +380,7 @@ class Python3Parser(PythonParser):
@staticmethod
def call_fn_name(token):
"""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):
'''