summaryrefslogtreecommitdiffstats
path: root/Doc/library/reprlib.rst
diff options
context:
space:
mode:
authorMarco Buttu <marco.buttu@gmail.com>2017-04-27 12:23:34 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-27 12:23:34 (GMT)
commite65fcde85abf6617508f2d6b77020e24b8ca6f6b (patch)
tree8cc02a1cb4906417c52bf720c72a1de65ed56048 /Doc/library/reprlib.rst
parent6fde770e4e940c19cd62de0b6aeb77840690843e (diff)
downloadcpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.zip
cpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.tar.gz
cpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.tar.bz2
bpo-27200: Fix several doctests (GH-604)
Diffstat (limited to 'Doc/library/reprlib.rst')
-rw-r--r--Doc/library/reprlib.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst
index 0905b98..5149bcf 100644
--- a/Doc/library/reprlib.rst
+++ b/Doc/library/reprlib.rst
@@ -48,6 +48,7 @@ string instead.
same thread. If a recursive call is made, the *fillvalue* is returned,
otherwise, the usual :meth:`__repr__` call is made. For example:
+ >>> from reprlib import recursive_repr
>>> class MyList(list):
... @recursive_repr()
... def __repr__(self):