commit | 0df797943cc46af236cce9c15e98c475f7ecccf0 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Oct 04 18:33:26 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Oct 04 18:33:26 2008 +0000 |
tree | 431d14d4336f0489878f7bf24a75426dac20535f | |
parent | b186f3438419a6c881705a42db1ecc4e52f5241e [diff] [blame] |
#4000: fix several 2.x atavisms.
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst index e503442..aad6f66 100644 --- a/Doc/library/reprlib.rst +++ b/Doc/library/reprlib.rst
@@ -126,7 +126,7 @@ if obj.name in ['<stdin>', '<stdout>', '<stderr>']: return obj.name else: - return `obj` + return repr(obj) aRepr = MyRepr() print aRepr.repr(sys.stdin) # prints '<stdin>'