[Python-checkins] cpython (3.4): Fix whitespace in example.

raymond.hettinger python-checkins at python.org
Sun Aug 3 07:32:41 CEST 2014


http://hg.python.org/cpython/rev/6d6da976553e
changeset:   91966:6d6da976553e
branch:      3.4
parent:      91956:77f36cdb71b0
user:        Raymond Hettinger <python at rcn.com>
date:        Sat Aug 02 22:32:10 2014 -0700
summary:
  Fix whitespace in example.

files:
  Doc/library/reprlib.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst
--- a/Doc/library/reprlib.rst
+++ b/Doc/library/reprlib.rst
@@ -49,8 +49,8 @@
 
         >>> 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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list