Dict.values is working now on dict literals.
This commit is contained in:
1 parent
48f41c5231
commit
4e93fb344b
3 files changed
+31
-9
No files matched your search
@@ -202,6 +202,9 @@ class dict():
|
||||
except KeyError:
|
||||
return d
|
||||
|
||||
def values(self):
|
||||
return self.__elements.values()
|
||||
|
||||
def setdefault(self, k, d):
|
||||
# TODO maybe also return the content
|
||||
return d
|
||||
|
||||
Reference in new issue
Block a user