Kaydet (Commit) afe0cd19 authored tarafından Guido van Rossum's avatar Guido van Rossum

Correction an issue reported by Mark Summerfeld.

üst 2d140981
...@@ -111,8 +111,8 @@ changes to rarely used features.) ...@@ -111,8 +111,8 @@ changes to rarely used features.)
* The ``print()`` function doesn't support the "softspace" feature of * The ``print()`` function doesn't support the "softspace" feature of
the old ``print`` statement. For example, in Python 2.x, the old ``print`` statement. For example, in Python 2.x,
``print "A\n", "B\n"`` would write ``"A\nB\n"``; but in Python 3.0, ``print "A\n", "B"`` would write ``"A\nB\n"``; but in Python 3.0,
``print("A\n", "B\n")`` writes ``"A\n B\n"``. ``print("A\n", "B")`` writes ``"A\n B\n"``.
* Also, ``print`` and ``print (x, y)`` behave differently without * Also, ``print`` and ``print (x, y)`` behave differently without
warning: the former used to add a newline in 2.x, but does nothing warning: the former used to add a newline in 2.x, but does nothing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment