summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-22 11:15:17 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-22 11:15:17 (GMT)
commitaf38774b5f373935b772b3be7d07b4cae3760d63 (patch)
tree211d7ac4575478b5aad179a9043237d3f7c5d973 /Doc/tutorial
parentc4c4842d8625db87bfdd916a3751f90e8a0f9d88 (diff)
downloadcpython-af38774b5f373935b772b3be7d07b4cae3760d63.zip
cpython-af38774b5f373935b772b3be7d07b4cae3760d63.tar.gz
cpython-af38774b5f373935b772b3be7d07b4cae3760d63.tar.bz2
Closes #16294: 8 space indent in tutorial
Diffstat (limited to 'Doc/tutorial')
-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 a9ae871..2265cd0 100644
--- a/Doc/tutorial/stdlib2.rst
+++ b/Doc/tutorial/stdlib2.rst
@@ -257,9 +257,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()