Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80c2f4f

Browse files
committed
MERGE: Closes python#16294: 8 space indent in tutorial
2 parents aee3c76 + af38774 commit 80c2f4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tutorial/stdlib2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ applications include caching objects that are expensive to create::
259259
>>> import weakref, gc
260260
>>> class A:
261261
... def __init__(self, value):
262-
... self.value = value
262+
... self.value = value
263263
... def __repr__(self):
264-
... return str(self.value)
264+
... return str(self.value)
265265
...
266266
>>> a = A(10) # create a reference
267267
>>> d = weakref.WeakValueDictionary()

0 commit comments

Comments
 (0)