[Python-3000] Please don't kill the % operator... (original) (raw)
Guido van Rossum guido at python.org
Fri Aug 17 04:11:11 CEST 2007
- Previous message: [Python-3000] Please don't kill the % operator...
- Next message: [Python-3000] Please don't kill the % operator...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/16/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
Guido van Rossum wrote: > The only added wrinkle is that you can also write > {0!r} to force using repr() on the value.
What if you want a field width with that? Will you be able to write {0!10r} or will it have to be {0!r:10}?
The latter.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] Please don't kill the % operator...
- Next message: [Python-3000] Please don't kill the % operator...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]