]> granicus.if.org Git - python/commitdiff
Merged revisions 75059 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 25 Sep 2009 20:15:31 +0000 (20:15 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 25 Sep 2009 20:15:31 +0000 (20:15 +0000)
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
........

Doc/tutorial/introduction.rst

index 8db19da6b1dd86cc909ad0670ecab1bb12407aff..97065afd13aede48e4f81b58126434adb83dbe56 100644 (file)
@@ -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: