Terry J. Reedy tjre...@udel.edu added the comment:
1. I decided to add '\' since this is what I normally do and also add one
sentence explanation.
2. I changed ending from ' ' to ','.
Uploaded patch committed in rev86422, rev86423
--
keywords: +patch
resolution: - fixed
stage: needs
Malte Helmert helm...@informatik.uni-freiburg.de added the comment:
I see. (The tutorial really talks about the interactive interpreter though -- I
don't think IDLE has been mentioned yet.)
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
1. Rather than add a blank line to the output, the input should have the
newline suppressed with \ (which has been done in previous examples).
print(\
2. It is rather difficult to see that there is no blank at the end (highlight
with
Changes by Terry J. Reedy tjre...@udel.edu:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10304
___
___
Python-bugs-list
Malte Helmert helm...@informatik.uni-freiburg.de added the comment:
1. Rather than add a blank line to the output, the input should have
the newline suppressed with \ (which has been done in previous
examples).
print(\
I think that would be didactically bad after just mentioning that
R. David Murray rdmur...@bitdance.com added the comment:
I think the commit hook might object to the trailing blank (I'm not sure it
applies to rst files, but I think it does).
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
I should have said that IDLE puts on a new line.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10304
___
New submission from Malte Helmert helm...@informatik.uni-freiburg.de:
From Section 3.1.2 of the tutorial:
print(
Usage: thingy [OPTIONS]
-hDisplay this usage message
-H hostname Hostname to connect to
)
produces the following output:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10304
___
___
Malte Helmert helm...@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
10 matches
Mail list logo