R. David Murray added the comment:

I would write it:

   "{:^{width}}".format(title, width=width)

By the way, in case it isn't clear, we acknowledge that in a perfect world 
center would work "right", but our judgment is that the pain of fixing it 
outweighs the benefit.  Our collective consensus on that could be shifted, but 
someone would have to be willing to argue it convincingly to the community (ie: 
not on the bug tracker).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23624>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to