[issue10304] error in tutorial triple-string example
Malte Helmert
report at bugs.python.org
Thu Nov 4 01:44:11 CET 2010
Malte Helmert <helmert at 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 at bugs.python.org>
<http://bugs.python.org/issue10304>
_______________________________________
More information about the Python-bugs-list
mailing list