1
0
forked from VimPlug/jedi

Remove code in the parser that didn't make sense.

This commit is contained in:
Dave Halter
2014-08-14 13:24:26 +02:00
parent 425290aa8f
commit 1f9e7ddff8

View File

@@ -1177,7 +1177,7 @@ class Statement(Simple, DocstringMixin):
lambd, tok_str = parse_lambda(token_iterator)
if lambd is not None:
result.append(lambd)
if tok_str not in (')', ','):
if tok_str != ',':
continue
is_literal = token_type in (tokenize.STRING, tokenize.NUMBER)