diff options
author | Jesus Cea <jcea@jcea.es> | 2012-10-22 11:15:45 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-10-22 11:15:45 (GMT) |
commit | 80c2f4fc43b8b2570a0c506a68ff76f9310f9030 (patch) | |
tree | 815efb49dd2c306a4b5b5eac74afa56266894b6d /Doc/tutorial/stdlib2.rst | |
parent | aee3c76acf068b5f7b3f709c42b8bbefbce0d84b (diff) | |
parent | af38774b5f373935b772b3be7d07b4cae3760d63 (diff) | |
download | cpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.zip cpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.tar.gz cpython-80c2f4fc43b8b2570a0c506a68ff76f9310f9030.tar.bz2 |
MERGE: Closes #16294: 8 space indent in tutorial
Diffstat (limited to 'Doc/tutorial/stdlib2.rst')
-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 6a48984..4b6e036 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() |