Attempt to fix HyDict#items for Python 3
Looks like Python 3 changed `zip` to returning an iterable and not a list. We should be good to just wrap the call in `list`.
This commit is contained in:
parent
990d901d65
commit
6bfc4a8471
@ -36,4 +36,4 @@ class HyDict(HyList):
|
||||
return self[1::2]
|
||||
|
||||
def items(self):
|
||||
return zip(self.keys(), self.values())
|
||||
return list(zip(self.keys(), self.values()))
|
||||
|
Loading…
Reference in New Issue
Block a user