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
Error in description of f-string "=" functionality #125496
By default, the '=' causes the repr() of the expression to be provided, unless there is a format specified. When a format is specified it defaults to the str() of the expression unless a conversion '!r' is declared.
But that's not correct. If a format is specified, it uses value.__format__(format_spec).
Activity
StanFromIreland commentedon Oct 2, 2025
cc @encukou (as #137469 author)
encukou commentedon Oct 7, 2025
Would you like to review #137469 instead? :)
ericvsmith commentedon Oct 8, 2025
I think #137469 addresses this issue. I'm going to close this, and make a note over there.