1
0
forked from VimPlug/jedi

er.Array is now also iterable

This commit is contained in:
David Halter
2013-02-10 21:15:04 +01:00
parent df17c98061
commit 01c48593bf
2 changed files with 12 additions and 4 deletions

View File

@@ -767,7 +767,7 @@ class Statement(Simple):
and not tok in ['>=', '<=', '==', '!=']
def parse_array(token_iterator, array_type, start_pos, add_el=None):
arr = Array(self.module, start_pos, array_type)
arr = Array(self.module, start_pos, array_type, self)
if add_el is not None:
arr.add_statement(add_el)