summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-25 20:15:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-25 20:15:31 (GMT)
commitae1b4d2d1aaedfab8c2121a2652b5fb89b634443 (patch)
tree6de78b527941490f8945bdb1918cfe35617258f5 /Doc/tutorial
parenta3e61a480f13be66756092452b2cc9c284f1322a (diff)
downloadcpython-ae1b4d2d1aaedfab8c2121a2652b5fb89b634443.zip
cpython-ae1b4d2d1aaedfab8c2121a2652b5fb89b634443.tar.gz
cpython-ae1b4d2d1aaedfab8c2121a2652b5fb89b634443.tar.bz2
Merged revisions 75059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75059 | ezio.melotti | 2009-09-25 23:14:02 +0300 (Fri, 25 Sep 2009) | 1 line #6998: fix missing () on a print ........
Diffstat (limited to 'Doc/tutorial')
-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 8db19da..97065af 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: