1
0
forked from VimPlug/jedi

Don't try to pickle ellipsis

This commit is contained in:
Dave Halter
2017-12-11 20:55:34 +01:00
parent fa2712a128
commit b196c6849b
5 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class Context(BaseContext):
except ValueError:
pass
if type(index) not in (float, int, str, unicode, slice, type(Ellipsis)):
if type(index) not in (float, int, str, unicode, slice):
# If the index is not clearly defined, we have to get all the
# possiblities.
if isinstance(self, AbstractIterable) and self.array_type == 'dict':