summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-22 11:14:20 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-22 11:14:20 (GMT)
commit3dd8cbea9bf4bc4e28eee32dfb3a1bcfba495921 (patch)
treeeb529cc5b6a8d17c47945066ff5d1f62dfe60b12
parent45dba1da320c37f35a55e5b4873e5e9573a37711 (diff)
downloadcpython-3dd8cbea9bf4bc4e28eee32dfb3a1bcfba495921.zip
cpython-3dd8cbea9bf4bc4e28eee32dfb3a1bcfba495921.tar.gz
cpython-3dd8cbea9bf4bc4e28eee32dfb3a1bcfba495921.tar.bz2
Closes #16294: 8 space indent in 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 a5ba472..1b0e856 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()