1
0
forked from VimPlug/jedi

Fix an issue with combined reversed and yield without for loops.

This commit is contained in:
Dave Halter
2015-11-10 09:37:07 +01:00
parent 9f82cce3bb
commit 498e24df94
3 changed files with 20 additions and 9 deletions

View File

@@ -164,7 +164,7 @@ def _execute_array_values(evaluator, array):
"""
if isinstance(array, Array):
values = []
for types in array.per_index_values():
for types in array.py__iter__():
objects = set(chain.from_iterable(_execute_array_values(evaluator, typ) for typ in types))
values.append(AlreadyEvaluated(objects))
return [FakeSequence(evaluator, values, array.type)]