Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2389cd5

Browse files
committed
Fix whitespace in example.
1 parent 045160b commit 2389cd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/reprlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ string instead.
4949

5050
>>> class MyList(list):
5151
... @recursive_repr()
52-
... def __repr__(self):
53-
... return '<' + '|'.join(map(repr, self)) + '>'
52+
... def __repr__(self):
53+
... return '<' + '|'.join(map(repr, self)) + '>'
5454
...
5555
>>> m = MyList('abc')
5656
>>> m.append(m)

0 commit comments

Comments
 (0)