def __iter__(self):
        return self.elements.iterkeys()
As per Iterable.
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/ordered_set.py/OrderedSet.__iter__