summaryrefslogtreecommitdiffstats
path: root/Doc/library/reprlib.rst
diff options
context:
space:
mode:
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):