Fix whitespace in example.
This commit is contained in:
parent
045160bc39
commit
2389cd5f2b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue