[New-bugs-announce] [issue3036] docs - print() example wrong in whatsnew

Nick Veitch report at bugs.python.org
Wed Jun 4 12:31:01 CEST 2008


New submission from Nick Veitch <veryevilnick at googlemail.com>:

In the whatsnew/3.0.html doc, the example for print is the wrong way
around. Current version reads:
* The :func:`print` function doesn't support the "softspace" feature of
    the old ``print`` statement.  For example, in Python 2.x,
    ``print "A\n", "B"`` would write ``"A\nB\n"``; but in Python 3.0,
    ``print("A\n", "B")`` writes ``"A\n B\n"``.

should read:
* The :func:`print` function doesn't support the "softspace" feature of
    the old ``print`` statement.  For example, in Python 2.x,
    ``print "A\n", "B"`` would write ``"A\n B\n"``; but in Python 3.0,
    ``print("A\n", "B")`` writes ``"A\nB\n"``.

----------
assignee: georg.brandl
components: Documentation
messages: 67688
nosy: evilnick, georg.brandl
severity: normal
status: open
title: docs - print() example wrong in whatsnew
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3036>
_______________________________________


More information about the New-bugs-announce mailing list