mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-21 04:51:13 +08:00
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)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user