Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2017-12-05 08:32:31 -05:00
parent c677c946ea
commit f07c9c6dcf
14 changed files with 8 additions and 3 deletions

View File

@@ -390,8 +390,7 @@ def make_function2(self, node, is_lambda, nested=1, codeNode=None):
if code_has_star_star_arg(code):
if argc > 0:
self.write(', ')
if argc + kw_pairs > 0:
self.write('**%s' % code.co_varnames[argc + kw_pairs])
self.write('**%s' % code.co_varnames[argc + kw_pairs])
if is_lambda:
self.write(": ")