Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7c1a94

Browse files
csabellaMariatta
authored andcommitted
[2.7] bpo-25059: Clarify the print separator usage in tutorial (pythonGH-5879)
By default `print` adds spaces between its arguments. (cherry picked from commit 84c4b0c)
1 parent 7634947 commit b7c1a94

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
@@ -101,7 +101,7 @@ Here are two ways to write a table of squares and cubes::
101101
10 100 1000
102102

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

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

0 commit comments

Comments
 (0)