forked from VimPlug/jedi
also fixed nested list comprehensions
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user