summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/stdlib2.rst
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-22 11:16:05 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-22 11:16:05 (GMT)
commit145ce8e38b93d3421dfb253c24574eddfc709b3f (patch)
tree36c1a256736383a939158bee397d55327fa6acca /Doc/tutorial/stdlib2.rst
parent3ebef36eeaef414642df120341b30ec27966e353 (diff)
parent80c2f4fc43b8b2570a0c506a68ff76f9310f9030 (diff)
downloadcpython-145ce8e38b93d3421dfb253c24574eddfc709b3f.zip
cpython-145ce8e38b93d3421dfb253c24574eddfc709b3f.tar.gz
cpython-145ce8e38b93d3421dfb253c24574eddfc709b3f.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 acb365b..3b9122f 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()