]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ouch! I need a better test suite for this. ;-(
authorFred Drake <fdrake@acm.org>
Fri, 2 Feb 2001 19:28:35 +0000 (19:28 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 2 Feb 2001 19:28:35 +0000 (19:28 +0000)
Lib/weakref.py

index cc7b494c913ce7ce5186f7550889fda745b19375..f1222fad1b52febb0553990fa010aa7204f81dbf 100644 (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))