diff options
| author | Jesus Cea <jcea@jcea.es> | 2012-10-22 13:16:05 +0200 |
|---|---|---|
| committer | Jesus Cea <jcea@jcea.es> | 2012-10-22 13:16:05 +0200 |
| commit | 145ce8e38b93d3421dfb253c24574eddfc709b3f (patch) | |
| tree | 36c1a256736383a939158bee397d55327fa6acca /Doc/tutorial | |
| parent | 3ebef36eeaef414642df120341b30ec27966e353 (diff) | |
| parent | 80c2f4fc43b8b2570a0c506a68ff76f9310f9030 (diff) | |
| download | cpython-git-145ce8e38b93d3421dfb253c24574eddfc709b3f.tar.gz | |
MERGE: Closes #16294: 8 space indent in tutorial
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/stdlib2.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index acb365b47f..3b9122fead 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() |
