From: Jesus Cea Date: Mon, 22 Oct 2012 11:15:17 +0000 (+0200) Subject: Closes #16294: 8 space indent in tutorial X-Git-Tag: v3.3.1rc1~759^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af38774b5f373935b772b3be7d07b4cae3760d63;p=python Closes #16294: 8 space indent in tutorial --- diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index a9ae871409..2265cd0469 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()