Kaydet (Commit) b297e714 authored tarafından Ezio Melotti's avatar Ezio Melotti

#6998: fix missing () on a print

üst ed610932
...@@ -222,11 +222,11 @@ Or, strings can be surrounded in a pair of matching triple-quotes: ``"""`` or ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment