Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b297e71

Browse files
committed
#6998: fix missing () on a print
1 parent ed61093 commit b297e71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tutorial/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ Or, strings can be surrounded in a pair of matching triple-quotes: ``"""`` or
222222
``'''``. End of lines do not need to be escaped when using triple-quotes, but
223223
they will be included in the string. ::
224224

225-
print """
225+
print("""
226226
Usage: thingy [OPTIONS]
227227
-h Display this usage message
228228
-H hostname Hostname to connect to
229-
"""
229+
""")
230230

231231
produces the following output:
232232

0 commit comments

Comments
 (0)