setdefault fix
This commit is contained in:
1 parent
1c9058ce6b
commit
d444ef9e15
2 files changed
+7
No files matched your search
@@ -199,6 +199,10 @@ class dict():
|
||||
except KeyError:
|
||||
return d
|
||||
|
||||
def setdefault(self, k, d):
|
||||
# TODO maybe also return the content
|
||||
return d
|
||||
|
||||
|
||||
class reversed():
|
||||
def __init__(self, sequence):
|
||||
|
||||
Reference in new issue
Block a user