]> granicus.if.org Git - python/commitdiff
Fix whitespace in example.
authorRaymond Hettinger <python@rcn.com>
Sun, 3 Aug 2014 05:32:10 +0000 (22:32 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 3 Aug 2014 05:32:10 +0000 (22:32 -0700)
Doc/library/reprlib.rst

index 24a8e529e7d9886ccb269deb1910567e8ed29849..568ac6fd066bc56963b7f043c3e67719712d5aae 100644 (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)