From aa4ddabc3ab7a72a8aa2f5c4506db24fca25c75f Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Fri, 23 Aug 2024 12:54:20 -0600 Subject: [PATCH] Fix slotscheck --- ndindex/ndindex.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ndindex/ndindex.py b/ndindex/ndindex.py index 55c20db5..498b8882 100644 --- a/ndindex/ndindex.py +++ b/ndindex/ndindex.py @@ -210,6 +210,8 @@ def __hash__(self): # pragma: no cover return hash(self.args) class NDIndexBase: + __slots__ = () + def reduce(self, shape=None, *, negative_int=False): """ Simplify an index given that it will be applied to an array of a given shape.