summaryrefslogtreecommitdiffstats
path: root/Lib/weakref.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-02 19:28:35 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-02 19:28:35 (GMT)
commit0399bd8ce214420680a5f359ea996d8c07a2cda6 (patch)
treec853eab1ba3ec569e39ce6de2efd18a6e5b62cd6 /Lib/weakref.py
parent914a0b1db61963e885fa5ee341c958a75b46f65c (diff)
downloadcpython-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.py1
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))