mirror of
https://github.com/python/cpython.git
synced 2025-09-08 09:51:34 +00:00
Some more test now pass.
This commit is contained in:
parent
d81206d152
commit
75d26ccd7a
3 changed files with 3 additions and 4 deletions
|
@ -117,7 +117,7 @@ class DictMixin:
|
|||
def items(self):
|
||||
return list(self.iteritems())
|
||||
def clear(self):
|
||||
for key in self.keys():
|
||||
for key in list(self.iterkeys()):
|
||||
del self[key]
|
||||
def setdefault(self, key, default=None):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue