Open faze-geek opened 1 year ago
First we have to implement dict.keys
and dict.values
(1 PR). And then we can implement for in
for dict
(and then a separate PR).
First we have to implement
dict.keys
anddict.values
(1 PR)
Should dict.keys
be a list
? CPython uses view objects, which do not support many list
operations.
That’s true. For now let’s keep it as a list. Later if needed we can create a separate type for dict.keys
.