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

Skip to content

Commit 3dd8cbe

Browse files
committed
Closes python#16294: 8 space indent in tutorial
1 parent 45dba1d commit 3dd8cbe

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
@@ -257,9 +257,9 @@ applications include caching objects that are expensive to create::
257257
>>> import weakref, gc
258258
>>> class A:
259259
... def __init__(self, value):
260-
... self.value = value
260+
... self.value = value
261261
... def __repr__(self):
262-
... return str(self.value)
262+
... return str(self.value)
263263
...
264264
>>> a = A(10) # create a reference
265265
>>> d = weakref.WeakValueDictionary()

0 commit comments

Comments
 (0)