Documentation
There is an obvious error in the formal specification of Python syntax in Python Language Reference 6.2.4:
parenth_form: "(" [starred_expression] ")"
A parenth_form should be a list.
Example :
(True, x:=1, *(4, y:=2))
According to the section 6.15, starred_expression is a subcase of flexible_expression.
So the suggested correction:
parenth_form: "(" [flexible_expression_list] ")"
Documentation
There is an obvious error in the formal specification of Python syntax in Python Language Reference 6.2.4:
parenth_form: "(" [starred_expression] ")"A parenth_form should be a list.
Example :
(True, x:=1, *(4, y:=2))According to the section 6.15,
starred_expressionis a subcase offlexible_expression.So the suggested correction:
parenth_form: "(" [flexible_expression_list] ")"