summaryrefslogtreecommitdiffstats
path: root/Doc/library/repr.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/repr.rst')
-rw-r--r--Doc/library/repr.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/repr.rst b/Doc/library/repr.rst
index ae4ce65..0ad08c6 100644
--- a/Doc/library/repr.rst
+++ b/Doc/library/repr.rst
@@ -129,5 +129,5 @@ for file objects could be added::
return `obj`
aRepr = MyRepr()
- print aRepr.repr(sys.stdin) # prints '<stdin>'
+ print(aRepr.repr(sys.stdin)) # prints '<stdin>'