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

Skip to content

Commit ae1b4d2

Browse files
committed
Merged revisions 75059 via svnmerge from
svn+ssh://[email protected]/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 ........
1 parent a3e61a4 commit ae1b4d2

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)