New submission from Ashwin Purohit puro...@gmail.com:
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
SilentGhost ghost@gmail.com added the comment:
Works as advertised for me. Unless more information is added, it looks like an
invalid issue.
--
nosy: +SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10873
Eric Smith e...@trueblade.com 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:
Ashwin Purohit puro...@gmail.com added the comment:
Yes, apologies (I was using 2.6).
On Jan 9, 2011 5:52 AM, SilentGhost rep...@bugs.python.org wrote:
SilentGhost ghost@gmail.com added the comment:
Works as advertised for me. Unless more information is added, it looks like
an invalid
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file20330/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10873
___