From: Benjamin Peterson Date: Thu, 5 Feb 2015 03:06:55 +0000 (-0500) Subject: remove parenthesis from print statement (closes #23396) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0;p=python remove parenthesis from print statement (closes #23396) --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 4164d49c75..e5ced49ef6 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.