From 400daedb137205e0799783c169f814a69759b6c9 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 2 Aug 2014 22:32:10 -0700 Subject: Fix whitespace in example. --- Doc/library/reprlib.rst | 4 ++-- 1 file 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) -- cgit v0.12