summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-08-03 05:30:26 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-08-03 05:30:26 (GMT)
commit2389cd5f2ba5c6c128a37fe0465b10b36a86d34c (patch)
tree347f1d86861ccd817d441eecc0fb89f51c1b7a10
parent045160bc39195eb4471b1d61c1c3c3849a19c604 (diff)
downloadcpython-2389cd5f2ba5c6c128a37fe0465b10b36a86d34c.zip
cpython-2389cd5f2ba5c6c128a37fe0465b10b36a86d34c.tar.gz
cpython-2389cd5f2ba5c6c128a37fe0465b10b36a86d34c.tar.bz2
Fix whitespace in example.
-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 24a8e52..568ac6f 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)