1
0
forked from VimPlug/jedi

Get rid of ordered_elements_of_iterable and use py__iter__ instead.

This commit is contained in:
Dave Halter
2015-12-02 13:36:39 +01:00
parent 9a2256f557
commit d835ffc5a3
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -164,8 +164,8 @@ class Evaluator(object):
# Iterate through result and add the values, that's possible
# only in for loops without clutter, because they are
# predictable. Also only do it, if the variable is not a tuple.
for_iterable = self.eval_element(for_stmt.get_input_node())
ordered = iterable.ordered_elements_of_iterable(self, for_iterable, types)
for_iterables = self.eval_element(for_stmt.get_input_node())
ordered = list(iterable.py__iter__(self, for_iterables))
for index_types in ordered:
dct = {str(for_stmt.children[1]): index_types}