diff options
Diffstat (limited to 'Doc/library/textwrap.rst')
-rw-r--r-- | Doc/library/textwrap.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/textwrap.rst b/Doc/library/textwrap.rst index e4340fa..350354c 100644 --- a/Doc/library/textwrap.rst +++ b/Doc/library/textwrap.rst @@ -64,8 +64,8 @@ indentation from strings that have unwanted whitespace to the left of the text. hello world ''' - print repr(s) # prints ' hello\n world\n ' - print repr(dedent(s)) # prints 'hello\n world\n' + print(repr(s)) # prints ' hello\n world\n ' + print(repr(dedent(s))) # prints 'hello\n world\n' .. class:: TextWrapper(...) |