[Python-checkins] r75060 - in python/branches/release31-maint: Doc/tutorial/introduction.rst

ezio.melotti python-checkins at python.org
Fri Sep 25 22:15:31 CEST 2009


Author: ezio.melotti
Date: Fri Sep 25 22:15:31 2009
New Revision: 75060

Log:
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
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Doc/tutorial/introduction.rst

Modified: python/branches/release31-maint/Doc/tutorial/introduction.rst
==============================================================================
--- python/branches/release31-maint/Doc/tutorial/introduction.rst	(original)
+++ python/branches/release31-maint/Doc/tutorial/introduction.rst	Fri Sep 25 22:15:31 2009
@@ -222,11 +222,11 @@
 ``'''``.  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:
 


More information about the Python-checkins mailing list