You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation Bug in Language Reference 6.2.4 #157365
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] ")"
Activity
StanFromIreland commentedon Sep 12, 2026
This was fixed for 3.15+ in 55f2518. But that wasn't backported due to conflicts.
CC @encukou