mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Ouch! I need a better test suite for this. ;-(
This commit is contained in:
parent
914a0b1db6
commit
0399bd8ce2
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ class WeakDictionary(UserDict.UserDict):
|
||||||
def items(self):
|
def items(self):
|
||||||
L = []
|
L = []
|
||||||
for key, ref in self.data.items():
|
for key, ref in self.data.items():
|
||||||
key, ref = L[i]
|
|
||||||
o = ref()
|
o = ref()
|
||||||
if o is not None:
|
if o is not None:
|
||||||
L.append((key, o))
|
L.append((key, o))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue