Fix some more py36 to py27 issues
This commit is contained in:
1 parent
a8d3c46e9d
commit
a7dea9e821
3 files changed
+16
-11
No files matched your search
@@ -448,6 +448,8 @@ class FakeDict(_FakeArray):
|
||||
yield LazyKnownContext(compiled.create_simple_object(self.evaluator, key))
|
||||
|
||||
def py__getitem__(self, index):
|
||||
if isinstance(index, bytes):
|
||||
index = force_unicode(index)
|
||||
return self._dct[index].infer()
|
||||
|
||||
def dict_values(self):
|
||||
|
||||
Reference in new issue
Block a user