[Python-checkins] cpython (merge 3.3 -> default): MERGE: Closes #16294: 8 space indent in tutorial

jesus.cea python-checkins at python.org
Mon Oct 22 13:16:31 CEST 2012


http://hg.python.org/cpython/rev/4ca40082461c
changeset:   79892:4ca40082461c
parent:      79888:8fb438e7f738
parent:      79891:3344c8208662
user:        Jesus Cea <jcea at jcea.es>
date:        Mon Oct 22 13:16:05 2012 +0200
summary:
  MERGE: Closes #16294: 8 space indent in tutorial

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


diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst
--- a/Doc/tutorial/stdlib2.rst
+++ b/Doc/tutorial/stdlib2.rst
@@ -259,9 +259,9 @@
    >>> import weakref, gc
    >>> class A:
    ...     def __init__(self, value):
-   ...             self.value = value
+   ...         self.value = value
    ...     def __repr__(self):
-   ...             return str(self.value)
+   ...         return str(self.value)
    ...
    >>> a = A(10)                   # create a reference
    >>> d = weakref.WeakValueDictionary()

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


More information about the Python-checkins mailing list