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('
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: +S