def _replicas_for_part(self, part):
        return [replica for replica, part2dev
                in enumerate(self._replica2part2dev)
                if part < len(part2dev)]
Returns a list of replicas for a specified partition.
dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._replicas_for_part