There was an error while loading. Please reload this page.
1 parent ed61093 commit b297e71Copy full SHA for b297e71
1 file changed
Doc/tutorial/introduction.rst
@@ -222,11 +222,11 @@ Or, strings can be surrounded in a pair of matching triple-quotes: ``"""`` or
222
``'''``. End of lines do not need to be escaped when using triple-quotes, but
223
they will be included in the string. ::
224
225
- print """
+ print("""
226
Usage: thingy [OPTIONS]
227
-h Display this usage message
228
-H hostname Hostname to connect to
229
- """
+ """)
230
231
produces the following output:
232
0 commit comments