Remove code in the parser that didn't make sense.
This commit is contained in:
1 parent
425290aa8f
commit
1f9e7ddff8
1 file changed
+1
-1
@@ -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