Author maltehelmert
Recipients docs@python, ezio.melotti, maltehelmert
Date 2010-11-04.00:44:08
SpamBayes Score 0.000120955
Marked as misclassified No
Message-id <1288831451.29.0.13903656512.issue10304@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a related one if you want to get the sample output really 100% correct. In the last example of Section 3, the output in

{>>> a, b = 0, 1
>>> while b < 1000:
...     print(b, end=' ')
...     a, b = b, a+b
...
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987}

should have an extra space at the end. (Granted, this is very very minor, but this may make a Python 2.x oldtimer like me wonder if print's end=" " does the same as old Python 2.x's "print b," including suppression of the "softspace".)
History
Date User Action Args
2010-11-04 00:44:11maltehelmertsetrecipients: + maltehelmert, ezio.melotti, docs@python
2010-11-04 00:44:11maltehelmertsetmessageid: <1288831451.29.0.13903656512.issue10304@psf.upfronthosting.co.za>
2010-11-04 00:44:08maltehelmertlinkissue10304 messages
2010-11-04 00:44:08maltehelmertcreate