[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-30 Thread Georg Brandl
Georg Brandl added the comment: No, the text is correct, but the example is misleading -- I now changed it to >>> fib(0) >>> print fib(0) None which should make the difference between using and not using print clearer. -- nosy: +georg.brandl __ Tracker

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-30 Thread Dan M
Dan M added the comment: Yes, it is normally suppressed. The problem is the condition when it is suppressed. The documentation states that it's suppressed when it's the only value to be written. It is suppressed when it's *not* the only value to be written. -or- (removing the double negative

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-29 Thread Martin v. Löwis
Martin v. Löwis added the comment: I fail to see the bug. The documentation is correct as it stands, ie. None is *not* displayed normally. IOW, writing is normally suppressed. -- nosy: +loewis resolution: -> invalid status: open -> closed __ Tracker <[EM

[issue1362] Simple mistake in http://docs.python.org/tut/node6.html

2007-10-29 Thread Dan M
New submission from Dan M: In section 4.6 it says: Writing the value None is normally suppressed by the interpreter if it would be the only value written. When it should say: Writing the value None is normally displayed by the interpreter if it would be the only value written. Or less wordy: Th