MCPcopy Create free account
hub / github.com/numpy/numpy / __next__

Method __next__

numpy/lib/index_tricks.py:690–703  ·  view source on GitHub ↗

Standard iterator method, updates the index and returns the index tuple. Returns ------- val : tuple of ints Returns a tuple containing the indices of the current iteration.

(self)

Source from the content-addressed store, hash-verified

688 next(self)
689
690 def __next__(self):
691 """
692 Standard iterator method, updates the index and returns the index
693 tuple.
694
695 Returns
696 -------
697 val : tuple of ints
698 Returns a tuple containing the indices of the current
699 iteration.
700
701 """
702 next(self._it)
703 return self._it.multi_index
704
705
706# You can do all this with slice() plus a few special objects,

Callers

nothing calls this directly

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected