Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2017-05-06 07:16:39 -04:00
40 changed files with 299 additions and 60 deletions

View File

@@ -576,7 +576,7 @@ def make_function3(self, node, isLambda, nested=1, codeNode=None):
for n in node:
if n == 'pos_arg':
continue
elif self.version >= 3.4 and n.type != 'kwargs':
elif self.version >= 3.4 and not (n.type in ('kwargs', 'kwarg')):
continue
else:
self.preorder(n)