[Python-checkins] cpython (2.7): Closes #16294: 8 space indent in tutorial

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


http://hg.python.org/cpython/rev/1a3f48c6ef16
changeset:   79889:1a3f48c6ef16
branch:      2.7
parent:      79884:f03a335621ce
user:        Jesus Cea <jcea at jcea.es>
date:        Mon Oct 22 13:14:20 2012 +0200
summary:
  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
@@ -257,9 +257,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