diff options
author | Raymond Hettinger <python@rcn.com> | 2014-08-03 05:32:10 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-08-03 05:32:10 (GMT) |
commit | 400daedb137205e0799783c169f814a69759b6c9 (patch) | |
tree | c8c142bead7227a68f59a0796e51408c3b9642d1 /Doc/library/reprlib.rst | |
parent | b4b3575e317b7b6d0369adaf09f990a4eb96e445 (diff) | |
download | cpython-400daedb137205e0799783c169f814a69759b6c9.zip cpython-400daedb137205e0799783c169f814a69759b6c9.tar.gz cpython-400daedb137205e0799783c169f814a69759b6c9.tar.bz2 |
Fix whitespace in example.
Diffstat (limited to 'Doc/library/reprlib.rst')
-rw-r--r-- | Doc/library/reprlib.rst | 4 |
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) |