Ouch! I need a better test suite for this. ;-(

This commit is contained in:
Fred Drake 2001-02-02 19:28:35 +00:00
parent 914a0b1db6
commit 0399bd8ce2

View file

@ -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))