mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
||||
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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue