From: Ezio Melotti Date: Fri, 25 Sep 2009 20:14:02 +0000 (+0000) Subject: #6998: fix missing () on a print X-Git-Tag: v3.2a1~2495 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b297e714e29e3dfed6091f80c642c88571b95d43;p=python #6998: fix missing () on a print --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 8db19da6b1..97065afd13 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -222,11 +222,11 @@ Or, strings can be surrounded in a pair of matching triple-quotes: ``"""`` or ``'''``. End of lines do not need to be escaped when using triple-quotes, but they will be included in the string. :: - print """ + print(""" Usage: thingy [OPTIONS] -h Display this usage message -H hostname Hostname to connect to - """ + """) produces the following output: