[New-bugs-announce] [issue36249] f-string should be the default placeholder

Akash Shende report at bugs.python.org
Sat Mar 9 02:10:25 EST 2019


New submission from Akash Shende <akash0x53s at gmail.com>:

Currently lot of code still uses old placeholder and .format() methods for formatting the string. Lets convert them all to f-string

"%s" % (name) => f'{name}'
"{name}".format(name="yoyo") = > f'{name}'

----------
components: Library (Lib)
messages: 337560
nosy: akash0x53
priority: normal
severity: normal
status: open
title: f-string should be the default placeholder

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36249>
_______________________________________


More information about the New-bugs-announce mailing list