summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/inputoutput.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-25 19:21:15 (GMT)
committerGitHub <noreply@github.com>2018-02-25 19:21:15 (GMT)
commitb9678d3aa156996947655ed66b554f6307b29546 (patch)
treea143a5d8e7713d084ae71d97cf705410a7d79f7c /Doc/tutorial/inputoutput.rst
parent8f2bcab92345dd8e51b6afd5308899292c3911e9 (diff)
downloadcpython-b9678d3aa156996947655ed66b554f6307b29546.zip
cpython-b9678d3aa156996947655ed66b554f6307b29546.tar.gz
cpython-b9678d3aa156996947655ed66b554f6307b29546.tar.bz2
bpo-25059: Clarify the print separator usage in tutorial (GH-5879)
By default `print` adds spaces between its arguments. (cherry picked from commit 84c4b0cc67ceb4b70842b78c718b6e8214874d6a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Diffstat (limited to 'Doc/tutorial/inputoutput.rst')
-rw-r--r--Doc/tutorial/inputoutput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index 74d7bad..d553102 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -100,7 +100,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 :func:`print` works: it always adds spaces between its arguments.)
+way :func:`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