From: Fred Drake Date: Fri, 2 Feb 2001 19:28:35 +0000 (+0000) Subject: Ouch! I need a better test suite for this. ;-( X-Git-Tag: v2.1a2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0399bd8ce214420680a5f359ea996d8c07a2cda6;p=thirdparty%2FPython%2Fcpython.git Ouch! I need a better test suite for this. ;-( --- diff --git a/Lib/weakref.py b/Lib/weakref.py index cc7b494c913c..f1222fad1b52 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))