@@ -132,7 +132,7 @@ def normalize_integer_selection(dim_sel, dim_len):
132
132
"""
133
133
134
134
135
- class IntDimIndexer ( object ) :
135
+ class IntDimIndexer :
136
136
137
137
def __init__ (self , dim_sel , dim_len , dim_chunk_len ):
138
138
@@ -157,7 +157,7 @@ def ceildiv(a, b):
157
157
return math .ceil (a / b )
158
158
159
159
160
- class SliceDimIndexer ( object ) :
160
+ class SliceDimIndexer :
161
161
162
162
def __init__ (self , dim_sel , dim_len , dim_chunk_len ):
163
163
@@ -320,7 +320,7 @@ def is_basic_selection(selection):
320
320
321
321
322
322
# noinspection PyProtectedMember
323
- class BasicIndexer ( object ) :
323
+ class BasicIndexer :
324
324
325
325
def __init__ (self , selection , array ):
326
326
@@ -361,7 +361,7 @@ def __iter__(self):
361
361
yield ChunkProjection (chunk_coords , chunk_selection , out_selection )
362
362
363
363
364
- class BoolArrayDimIndexer ( object ) :
364
+ class BoolArrayDimIndexer :
365
365
366
366
def __init__ (self , dim_sel , dim_len , dim_chunk_len ):
367
367
@@ -451,7 +451,7 @@ def boundscheck_indices(x, dim_len):
451
451
raise BoundsCheckError (dim_len )
452
452
453
453
454
- class IntArrayDimIndexer ( object ) :
454
+ class IntArrayDimIndexer :
455
455
"""Integer array selection against a single dimension."""
456
456
457
457
def __init__ (self , dim_sel , dim_len , dim_chunk_len , wraparound = True , boundscheck = True ,
@@ -579,7 +579,7 @@ def oindex_set(a, selection, value):
579
579
580
580
581
581
# noinspection PyProtectedMember
582
- class OrthogonalIndexer ( object ) :
582
+ class OrthogonalIndexer :
583
583
584
584
def __init__ (self , selection , array ):
585
585
@@ -649,7 +649,7 @@ def __iter__(self):
649
649
yield ChunkProjection (chunk_coords , chunk_selection , out_selection )
650
650
651
651
652
- class OIndex ( object ) :
652
+ class OIndex :
653
653
654
654
def __init__ (self , array ):
655
655
self .array = array
@@ -686,7 +686,7 @@ def is_mask_selection(selection, array):
686
686
687
687
688
688
# noinspection PyProtectedMember
689
- class CoordinateIndexer ( object ) :
689
+ class CoordinateIndexer :
690
690
691
691
def __init__ (self , selection , array ):
692
692
@@ -805,7 +805,7 @@ def __init__(self, selection, array):
805
805
super ().__init__ (selection , array )
806
806
807
807
808
- class VIndex ( object ) :
808
+ class VIndex :
809
809
810
810
def __init__ (self , array ):
811
811
self .array = array
@@ -905,7 +905,7 @@ def make_slice_selection(selection):
905
905
return ls
906
906
907
907
908
- class PartialChunkIterator ( object ) :
908
+ class PartialChunkIterator :
909
909
"""Iterator to retrieve the specific coordinates of requested data
910
910
from within a compressed chunk.
911
911
0 commit comments