summaryrefslogtreecommitdiff
path: root/Doc/library/reprlib.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-08-02 22:32:10 -0700
committerRaymond Hettinger <python@rcn.com>2014-08-02 22:32:10 -0700
commitc97a9c13dbf59b8970083425e59bfe1e8e565060 (patch)
tree504318e3170dc6baa9c0104b6b5c76e76c5091ef /Doc/library/reprlib.rst
parentde22dd4e32f274e3d4b9457c9febf979061a7c0e (diff)
downloadcpython-c97a9c13dbf59b8970083425e59bfe1e8e565060.tar.gz
Fix whitespace in example.
Diffstat (limited to 'Doc/library/reprlib.rst')
-rw-r--r--Doc/library/reprlib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst
index 24a8e529e7..568ac6fd06 100644
--- a/Doc/library/reprlib.rst
+++ b/Doc/library/reprlib.rst
@@ -49,8 +49,8 @@ string instead.
>>> class MyList(list):
... @recursive_repr()
- ... def __repr__(self):
- ... return '<' + '|'.join(map(repr, self)) + '>'
+ ... def __repr__(self):
+ ... return '<' + '|'.join(map(repr, self)) + '>'
...
>>> m = MyList('abc')
>>> m.append(m)