forked from VimPlug/jedi
Fix an array lookup issue. list.pop calls work now pretty well and return the right type.
This commit is contained in:
@@ -146,7 +146,7 @@ class Evaluator(object):
|
||||
@memoize_default(evaluator_is_first_arg=True)
|
||||
def eval_element(self, element):
|
||||
if isinstance(element, iterable.AlreadyEvaluated):
|
||||
return element
|
||||
return list(element)
|
||||
elif isinstance(element, iterable.MergedNodes):
|
||||
return iterable.unite(self.eval_element(e) for e in element)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user