ndindex.
ndincr
Increment the multi-dimensional index by one.
This method is for backward compatibility only: do not use.
numpy.ndindex
numpy.ndindex.next