[Python-checkins] [2.7] bpo-25059: Clarify the print separator usage in tutorial (GH-5879)

Mariatta webhook-mailer at python.org
Sun Feb 25 15:50:29 EST 2018


https://github.com/python/cpython/commit/b7c1a94f94305d82fc77f833fd68cc8616991bd4
commit: b7c1a94f94305d82fc77f833fd68cc8616991bd4
branch: 2.7
author: Cheryl Sabella <cheryl.sabella at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-02-25T12:50:26-08:00
summary:

[2.7] bpo-25059: Clarify the print separator usage in tutorial (GH-5879)

By default `print` adds spaces between its arguments.

(cherry picked from commit 84c4b0cc67ceb4b70842b78c718b6e8214874d6a)

files:
M Doc/tutorial/inputoutput.rst

diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index d6c3cb6ac81b..78d6ba31e0ba 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -101,7 +101,7 @@ Here are two ways to write a table of squares and cubes::
    10 100 1000
 
 (Note that in the first example, one space between each column was added by the
-way :keyword:`print` works: it always adds spaces between its arguments.)
+way :keyword:`print` works: by default it adds spaces between its arguments.)
 
 This example demonstrates the :meth:`str.rjust` method of string
 objects, which right-justifies a string in a field of a given width by padding



More information about the Python-checkins mailing list