]> granicus.if.org Git - python/commit
Fix some of the example code; the reference objects do not support a
authorFred Drake <fdrake@acm.org>
Fri, 3 Aug 2001 03:50:28 +0000 (03:50 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 3 Aug 2001 03:50:28 +0000 (03:50 +0000)
commit5d548796474d63db729903cd67a21e0a9f1e6666
tree13d71434b5ca0103048000a128f5c2a38aa5db11
parentf980301b09a7cf66a4e370f61e1baa2ee2f1f38e
Fix some of the example code; the reference objects do not support a
get() method; just calling them is sufficient.  (There was a get() method
for this in an early version of the implementation.)

Reported by Mats Wichmann.
Doc/lib/libweakref.tex