[docs] "knights of Ni" bug
Martin Feuchtwanger
martinf at underhill.ca
Fri Apr 8 00:08:14 CEST 2011
Hello,
I'm very new to Python -- going through theTutorial <http://docs.python.org/tutorial/index.html>
athttp://docs.python.org/tutorial/inputoutput.html
-- using 2.6.4 (r264:75708, Oct 26 2009, 08:23:19)
[MSC v.1500 32 bit (Intel)]
I think the following is wrong:
>>> print 'We are the {} who say "{}!"'.format('knights', 'Ni')
We are the knights who say "Ni!"
and should be:
>>> print 'We are the {0} who say "{1}!"'.format('knights', 'Ni')
We are the knights who say "Ni!"
or am i missing something?
You may be hearing a lot more from me.
Cheers,
--
Martin Feuchtwanger, PhD martinf at underhill.ca 604-732-3384 x 206
Underhill Geomatics Ltd. www.underhill.ca
210A, 3430 Brighton Ave. Burnaby, BC V5A 3H4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110407/ff9b0777/attachment-0001.html>
More information about the docs
mailing list