Fix whitespace in example.

This commit is contained in:
Raymond Hettinger 2014-08-02 22:32:10 -07:00
parent b4b3575e31
commit 400daedb13

View file

@ -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)