From ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 4 Feb 2015 22:06:55 -0500 Subject: remove parenthesis from print statement (closes #23396) --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12