Nov. 3, 2010
7:44 p.m.
Malte Helmert <helmert@informatik.uni-freiburg.de> added the comment: 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".) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10304> _______________________________________