aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-25 20:14:02 +0000
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-25 20:14:02 +0000
commitb297e714e29e3dfed6091f80c642c88571b95d43 (patch)
tree978e2a36241a9cae31a0d9dd9eebe8435d93e62f /Doc/tutorial/introduction.rst
parentMerged revisions 75055 via svnmerge from (diff)
downloadcpython-b297e714e29e3dfed6091f80c642c88571b95d43.tar.gz
cpython-b297e714e29e3dfed6091f80c642c88571b95d43.tar.bz2
cpython-b297e714e29e3dfed6091f80c642c88571b95d43.zip
#6998: fix missing () on a print
Diffstat (limited to 'Doc/tutorial/introduction.rst')
-rw-r--r--Doc/tutorial/introduction.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 8db19da6b1d..97065afd13a 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: