diff options
Diffstat (limited to 'Doc/library/reprlib.rst')
-rw-r--r-- | Doc/library/reprlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst index b529aca..056c5dc 100644 --- a/Doc/library/reprlib.rst +++ b/Doc/library/reprlib.rst @@ -129,5 +129,5 @@ for file objects could be added:: return repr(obj) aRepr = MyRepr() - print aRepr.repr(sys.stdin) # prints '<stdin>' + print(aRepr.repr(sys.stdin)) # prints '<stdin>' |