[Python-ideas] Briefer string format

Terry Reedy tjreedy at udel.edu
Mon Jul 20 01:50:52 CEST 2015

On 7/19/2015 7:12 PM, Mike Miller wrote:
> Have long wished python could format strings easily like bash or perl
> do, ...
> and then it hit me:
>      csstext += f'{nl}{selector}{space}{{{nl}'

Are the unbalanced braces here and in the followup intentional?

Terry Jan Reedy

More information about the Python-ideas mailing list