Dear developers, 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? Best regards, Takuo Matsuoka _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/TCWYZIIRZWIR7CDJWDAUBCAMU2CBFB3Y/ Code of Conduct: http://python.org/psf/codeofconduct/