summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/stdlib2.rst
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-22 11:15:45 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-22 11:15:45 (GMT)
commit80c2f4fc43b8b2570a0c506a68ff76f9310f9030 (patch)
tree815efb49dd2c306a4b5b5eac74afa56266894b6d /Doc/tutorial/stdlib2.rst
parentaee3c76acf068b5f7b3f709c42b8bbefbce0d84b (diff)
parentaf38774b5f373935b772b3be7d07b4cae3760d63 (diff)
downloadcpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.zip
cpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.tar.gz
cpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.tar.bz2
MERGE: Closes #16294: 8 space indent in tutorial
Diffstat (limited to 'Doc/tutorial/stdlib2.rst')
-rw-r--r--Doc/tutorial/stdlib2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst
index 6a48984..4b6e036 100644
--- a/Doc/tutorial/stdlib2.rst
+++ b/Doc/tutorial/stdlib2.rst
@@ -259,9 +259,9 @@ applications include caching objects that are expensive to create::
>>> 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()