From: Benjamin Peterson Date: Thu, 5 Feb 2015 03:06:55 +0000 (-0500) Subject: remove parenthesis from print statement (closes #23396) X-Git-Tag: v2.7.10rc1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad5ddf79c37a5c25ad37ff18687ebd293b9d17e0;p=thirdparty%2FPython%2Fcpython.git remove parenthesis from print statement (closes #23396) --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 4164d49c7561..e5ced49ef623 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.