Grammar specification 3.12.0rc3
Rule name conflict with the follwing two rules:
fstring: star_expressions
and
fstring:
| FSTRING_START fstring_middle* FSTRING_END
The colon is not a soft keyword (":"
), it is a token (':'
) in these rules:
type_param:
| NAME [type_param_bound]
| '*' NAME ":" expression
| '*' NAME
| '**' NAME ":" expression
| '**' NAME
type_param_bound: ":" expression
The equal is not a soft keyword ("="
), it is a token ('='
) in the following rule:
fstring_replacement_field:
| '{' (yield_expr | star_expressions) "="? [fstring_conversion] [fstring_full_format_spec] '}'