Closes #16294: 8 space indent in tutorial

This commit is contained in:
Jesus Cea 2012-10-22 13:14:20 +02:00
parent 45dba1da32
commit 3dd8cbea9b
1 changed files with 2 additions and 2 deletions

View File

@ -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()