Skip to content

Commit

Permalink
Fix test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Sep 22, 2015
1 parent 22da402 commit 99e819f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jedi/evaluate/stdlib.py
Expand Up @@ -87,7 +87,7 @@ def wrapper(evaluator, obj, arguments):
kwargs['scope'] = arguments.scope()
if want_obj:
kwargs['obj'] = obj
if want_obj:
if want_arguments:
kwargs['arguments'] = arguments
return func(evaluator, *lst, **kwargs)

Expand Down Expand Up @@ -150,7 +150,7 @@ def builtins_super(evaluator, types, objects, scope):

def get_iterable_content(evaluator, arguments, argument_index):
nodes = list(arguments.unpack())[argument_index][1]
return tuple(iterable.unite(iterable.get_iterator_types(node)
return tuple(iterable.unite(iterable.get_iterator_types(evaluator, node)
for node in nodes))


Expand Down

0 comments on commit 99e819f

Please sign in to comment.