Éric Araujo <mer...@netwok.org> added the comment: Hello! For future tickets, please include all relevant info here rather that only links.
Linked message is: According to the Language Reference, a starred expression is defined by starred_expression ::= expression | (starred_item ",")* [starred_item] https://docs.python.org/3/reference/expressions.html#expression-lists However, in view of the definition of an assignment statement assignment_stmt ::= (target_list "=")+ (starred_expression | yield_expression) https://docs.python.org/3/reference/simple_stmts.html#assignment-statements I believe the correct definition actually used is starred_expression ::= expression | (starred_item ",")+ [starred_item] (that is, use "+" instead of "*"). Should it be fixed? ---------- nosy: +eric.araujo _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44983> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com