diff --git a/vm/src/vm.rs b/vm/src/vm.rs index ba521db0b3..fa42fd17d4 100644 --- a/vm/src/vm.rs +++ b/vm/src/vm.rs @@ -603,7 +603,7 @@ impl VirtualMachine { pub fn _and(&mut self, a: PyObjectRef, b: PyObjectRef) -> PyResult { self.call_or_unsupported(a, b, "__and__", "__rand__", |vm, a, b| { - Err(vm.new_unsupported_operand_error(a, b, "^")) + Err(vm.new_unsupported_operand_error(a, b, "&")) }) }