diff Doc/tutorial/stdlib2.rst @ 79890:2015db05d954 3.2

Closes #16294: 8 space indent in tutorial
author Jesus Cea <jcea@jcea.es>
date Mon, 22 Oct 2012 13:15:17 +0200
parents 101354f95a07
children 3344c8208662
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst	Sun Oct 21 23:05:35 2012 +0200
+++ b/Doc/tutorial/stdlib2.rst	Mon Oct 22 13:15:17 2012 +0200
@@ -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()