Message120548
| Author |
terry.reedy |
| Recipients |
docs@python, ezio.melotti, maltehelmert, terry.reedy |
| Date |
2010年11月05日.22:28:55 |
| SpamBayes Score |
1.4613005e-07 |
| Marked as misclassified |
No |
| Message-id |
<1288996137.4.0.0926914706198.issue10304@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 mouse). I can imagine that either the formatter or display system might delete even if in the master .rst file. In interactive use, the interpreter will go to a new line anyway before printing the >>> prompt.
The intent and effect of end=' ' is that the outputs are all on one line (as with 2.x print) instead of each on a separate line |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月05日 22:28:57 | terry.reedy | set | recipients:
+ terry.reedy, maltehelmert, ezio.melotti, docs@python |
| 2010年11月05日 22:28:57 | terry.reedy | set | messageid: <1288996137.4.0.0926914706198.issue10304@psf.upfronthosting.co.za> |
| 2010年11月05日 22:28:56 | terry.reedy | link | issue10304 messages |
| 2010年11月05日 22:28:55 | terry.reedy | create |
|