1
0
forked from VimPlug/jedi

Do more comparisons in the subprocess

This commit is contained in:
Dave Halter
2017-12-26 13:38:47 +01:00
parent ab42e856fb
commit c43009d5dc
3 changed files with 9 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ class Context(BaseContext):
except ValueError:
pass
if type(index) not in (float, int, str, unicode, slice):
if type(index) not in (float, int, str, unicode, slice, bytes):
# If the index is not clearly defined, we have to get all the
# possiblities.
if isinstance(self, AbstractIterable) and self.array_type == 'dict':