def __eq__(self, other): if not Objet3D.__eq__(self, other): return False if other.forme != self.forme: return False if other.rd != self.rd or other.rg != self.rg: return False if other.direction != self.direction: return False if other.dist_wheels != self.dist_wheels: return False return True
def __eq__(self, other): if Objet3D.__eq__(self, other) is False: return False if self.diametre != other.diametre: return False return True