forked from VimPlug/jedi
Remove code in the parser that didn't make sense.
This commit is contained in:
@@ -1177,7 +1177,7 @@ class Statement(Simple, DocstringMixin):
|
|||||||
lambd, tok_str = parse_lambda(token_iterator)
|
lambd, tok_str = parse_lambda(token_iterator)
|
||||||
if lambd is not None:
|
if lambd is not None:
|
||||||
result.append(lambd)
|
result.append(lambd)
|
||||||
if tok_str not in (')', ','):
|
if tok_str != ',':
|
||||||
continue
|
continue
|
||||||
|
|
||||||
is_literal = token_type in (tokenize.STRING, tokenize.NUMBER)
|
is_literal = token_type in (tokenize.STRING, tokenize.NUMBER)
|
||||||
|
|||||||
Reference in New Issue
Block a user