]> granicus.if.org Git - python/commitdiff
remove parenthesis from print statement (closes #23396)
authorBenjamin Peterson <benjamin@python.org>
Thu, 5 Feb 2015 03:06:55 +0000 (22:06 -0500)
committerBenjamin Peterson <benjamin@python.org>
Thu, 5 Feb 2015 03:06:55 +0000 (22:06 -0500)
Doc/tutorial/introduction.rst

index 4164d49c75616fae685a42bc0face0dcf0195b3d..e5ced49ef623aa96165da2ce17845e1a236279bc 100644 (file)
@@ -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.