[Python-ideas] Format character to center strings

Alexander Belopolsky alexander.belopolsky at gmail.com
Sat Mar 28 18:12:16 CET 2015


On Sat, Mar 28, 2015 at 1:07 PM, Philipp A. <flying-sheep at web.de> wrote:

> because you should use '{:^20}'.format(s) instead of the obsolete % stuff.
>

"% stuff" is not "obsolete", but it follows C standard by design and any
new features that do not come from C will likely be rejected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150328/c8d00c31/attachment.html>


More information about the Python-ideas mailing list