Fix whitespace in example.

This commit is contained in:
Raymond Hettinger 2014-08-02 22:30:26 -07:00
parent 045160bc39
commit 2389cd5f2b
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ string instead.
>>> class MyList(list): >>> class MyList(list):
... @recursive_repr() ... @recursive_repr()
... def __repr__(self): ... def __repr__(self):
... return '<' + '|'.join(map(repr, self)) + '>' ... return '<' + '|'.join(map(repr, self)) + '>'
... ...
>>> m = MyList('abc') >>> m = MyList('abc')
>>> m.append(m) >>> m.append(m)