1
0
forked from VimPlug/jedi

fix list comprehension problems for non-nested

This commit is contained in:
David Halter
2013-02-21 01:13:23 +04:30
parent 9cda8c2a52
commit 4d3267b24f
3 changed files with 17 additions and 15 deletions

View File

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