Vedran Čačić added the comment:

Only one detail to resolve: you say "format is quite capable of handing a 
variable width field".

It does, but not in a really nice way. Honestly, would you really rather see

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

than

    title.center(width)

? Nested formats are ugly, I think that's a consensus. :-) Not to mention that 
.center is more explicit about what's going on - that "^" is almost lost in 
that brace-forest.

----------

_______________________________________
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