From: Raymond Hettinger Date: Sun, 3 Aug 2014 05:32:10 +0000 (-0700) Subject: Fix whitespace in example. X-Git-Tag: v3.4.2rc1~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=400daedb137205e0799783c169f814a69759b6c9;p=python Fix whitespace in example. --- 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)