Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c4842 commit af38774Copy full SHA for af38774
1 file changed
Doc/tutorial/stdlib2.rst
@@ -257,9 +257,9 @@ applications include caching objects that are expensive to create::
257
>>> import weakref, gc
258
>>> class A:
259
... def __init__(self, value):
260
- ... self.value = value
+ ... self.value = value
261
... def __repr__(self):
262
- ... return str(self.value)
+ ... return str(self.value)
263
...
264
>>> a = A(10) # create a reference
265
>>> d = weakref.WeakValueDictionary()
0 commit comments