def set_replicas(self, new_replica_count):
        old_slots_used = int(self.parts * self.replicas)
        new_slots_used = int(self.parts * new_replica_count)
        if old_slots_used != new_slots_used:
            self.devs_changed = True

        self.replicas = new_replica_count
Parameters
dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder.set_replicas--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/strategies/grumpy.py/Grumpy.__init__