1
0
forked from VimPlug/jedi

also fixed nested list comprehensions

This commit is contained in:
David Halter
2013-02-21 01:39:49 +04:30
parent 4d3267b24f
commit 6b5295bc40
3 changed files with 7 additions and 5 deletions

View File

@@ -435,7 +435,8 @@ class Parser(object):
st = pr.Statement(self.module, src, [], [], [],
toks, first_pos, self.end_pos)
tok = pr.ListComprehension(st, middle, in_clause)
tok = pr.ListComprehension(st, middle, in_clause,
self.scope)
tok_list.append(tok)
if list_comp:
string = ''