[issue10873] String formatting example invalid

2011-01-09 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file20330/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10873] String formatting example invalid

2011-01-09 Thread Ashwin Purohit
Ashwin Purohit added the comment: Yes, apologies (I was using 2.6). On Jan 9, 2011 5:52 AM, "SilentGhost" wrote: SilentGhost added the comment: Works as advertised for me. Unless more information is added, it looks like an invalid issue. -- nosy: +SilentGhost _

[issue10873] String formatting example invalid

2011-01-09 Thread Eric Smith
Eric Smith added the comment: This feature was added in 2.7 (and 3.1, I think). If the numeric indices are not specified, they take the args in order. -- assignee: d...@python -> eric.smith nosy: +eric.smith resolution: -> invalid stage: -> committed/rejected status: open -> closed

[issue10873] String formatting example invalid

2011-01-09 Thread SilentGhost
SilentGhost added the comment: Works as advertised for me. Unless more information is added, it looks like an invalid issue. -- nosy: +SilentGhost ___ Python tracker ___ __

[issue10873] String formatting example invalid

2011-01-09 Thread Ashwin Purohit
New submission from Ashwin Purohit : Your example on page http://docs.python.org/tutorial/inputoutput.html is outdated and won't work in Python 2.7: Basic usage of the str.format() method looks like this: >>> print 'We are the {} who say "{}!"'.format('knights', 'Ni') We are the knights who sa