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