LSSTApplications  18.1.0
LSSTDataManagementBasePackage
astrometry_netContinued.py
Go to the documentation of this file.
1 from __future__ import absolute_import, division, print_function
2 
3 from lsst.utils import continueClass
4 
5 from . import MultiIndex
6 
7 
8 @continueClass # noqa
9 class MultiIndex:
10  def __iter__(self):
11  """Get an iterator over the indices in a MultiIndex
12 
13  Do not modify the number or location of the indices while using the iterator.
14  """
15  for i in range(len(self)):
16  yield self[i]