class ShowIndex(object):

    def __getitem__(self, index):
        print(index)
ShowIndex()[:, :]
ShowIndex()[..., :]
ShowIndex()[0:5:2, ::-1]
ShowIndex()[0:5:2, (np.arange(3))]
ShowIndex()[0:5:2]
ShowIndex()[5, 5]
ShowIndex()[5]
ShowIndex()[np.arange(3)]
Numpy multi-dimensional array indexing swaps axis order