diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-02 19:28:35 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-02 19:28:35 (GMT) |
commit | 0399bd8ce214420680a5f359ea996d8c07a2cda6 (patch) | |
tree | c853eab1ba3ec569e39ce6de2efd18a6e5b62cd6 /Lib/weakref.py | |
parent | 914a0b1db61963e885fa5ee341c958a75b46f65c (diff) | |
download | cpython-0399bd8ce214420680a5f359ea996d8c07a2cda6.zip cpython-0399bd8ce214420680a5f359ea996d8c07a2cda6.tar.gz cpython-0399bd8ce214420680a5f359ea996d8c07a2cda6.tar.bz2 |
Ouch! I need a better test suite for this. ;-(
Diffstat (limited to 'Lib/weakref.py')
-rw-r--r-- | Lib/weakref.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/weakref.py b/Lib/weakref.py index cc7b494..f1222fa 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -69,7 +69,6 @@ class WeakDictionary(UserDict.UserDict): def items(self): L = [] for key, ref in self.data.items(): - key, ref = L[i] o = ref() if o is not None: L.append((key, o)) |