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 ........
This commit is contained in:
parent
a3e61a480f
commit
ae1b4d2d1a
@ -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
|
``'''``. End of lines do not need to be escaped when using triple-quotes, but
|
||||||
they will be included in the string. ::
|
they will be included in the string. ::
|
||||||
|
|
||||||
print """
|
print("""
|
||||||
Usage: thingy [OPTIONS]
|
Usage: thingy [OPTIONS]
|
||||||
-h Display this usage message
|
-h Display this usage message
|
||||||
-H hostname Hostname to connect to
|
-H hostname Hostname to connect to
|
||||||
"""
|
""")
|
||||||
|
|
||||||
produces the following output:
|
produces the following output:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user