diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-02-05 03:06:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-02-05 03:06:55 (GMT) |
commit | ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0 (patch) | |
tree | 7789fdfa80270ad6dac2e06e1f324355d0e001b0 /Doc | |
parent | 0c1e98b2b2610bd48a5a084264bb695d63266cf7 (diff) | |
download | cpython-ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0.zip cpython-ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0.tar.gz cpython-ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0.tar.bz2 |
remove parenthesis from print statement (closes #23396)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/introduction.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 4164d49..e5ced49 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -170,7 +170,7 @@ and special characters:: >>> print '"Isn\'t," she said.' "Isn't," she said. >>> s = 'First line.\nSecond line.' # \n means newline - >>> s # without print(), \n is included in the output + >>> s # without print, \n is included in the output 'First line.\nSecond line.' >>> print s # with print, \n produces a new line First line. |