mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#6998: fix missing () on a print
This commit is contained in:
parent
ed61093277
commit
b297e714e2
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue