Don't try to pickle ellipsis

This commit is contained in:
Dave Halter committed 2017-12-11 20:55:34 +01:00
1 parent fa2712a128
commit b196c6849b
5 files changed
+10 -14

No files matched your search

+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':