diff --git a/Lib/weakref.py b/Lib/weakref.py index cc7b494c913..f1222fad1b5 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -69,7 +69,6 @@ def get(self, key, default): 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))