def __iter__(self):
        for i in xrange(self.geom_count):
            yield self[i]
Validate read preference mode for a MongoReplicaSetClient.
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/geometries.py/GeometryCollection.__iter__--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/common.py/validate_read_preference_mode