[Python-ideas] Briefer string format

Sven R. Kunze srkunze at mail.de
Sun Aug 2 22:56:52 CEST 2015


On 01.08.2015 19:43, Eric V. Smith wrote:
> Should we support !s and !r, like str.format does? It's not really
> needed, since with f-strings you can just call str or repr yourself:

Just to get a proper understanding here:

What is the recommended usage? repr and str or !r and !s?


More information about the Python-ideas mailing list