Fix ne for objbyteinner
@@ -275,7 +275,7 @@ impl PyBytesInner {
}
pub fn ne(&self, other: PyObjectRef, vm: &VirtualMachine) -> PyComparisonValue {
- self.cmp(other, |a, b| a != b, vm)
+ self.eq(other, vm).map(|v| !v)
}
pub fn ge(&self, other: PyObjectRef, vm: &VirtualMachine) -> PyComparisonValue {
