Skip to content

Commit b9678d3

Browse files
bpo-25059: Clarify the print separator usage in tutorial (GH-5879)
By default `print` adds spaces between its arguments. (cherry picked from commit 84c4b0c) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
1 parent 8f2bcab commit b9678d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/inputoutput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Here are two ways to write a table of squares and cubes::
100100
10 100 1000
101101

102102
(Note that in the first example, one space between each column was added by the
103-
way :func:`print` works: it always adds spaces between its arguments.)
103+
way :func:`print` works: by default it adds spaces between its arguments.)
104104

105105
This example demonstrates the :meth:`str.rjust` method of string
106106
objects, which right-justifies a string in a field of a given width by padding

0 commit comments

Comments
 (0)