[Python-checkins] r75059 - python/branches/py3k/Doc/tutorial/introduction.rst

ezio.melotti python-checkins at python.org
Fri Sep 25 22:14:03 CEST 2009


Author: ezio.melotti
Date: Fri Sep 25 22:14:02 2009
New Revision: 75059
Log:
#6998: fix missing () on a print
Modified:
 python/branches/py3k/Doc/tutorial/introduction.rst
Modified: python/branches/py3k/Doc/tutorial/introduction.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/introduction.rst	(original)
+++ python/branches/py3k/Doc/tutorial/introduction.rst	Fri Sep 25 22:14:02 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

AltStyle によって変換されたページ (->オリジナル) /