Skip to content

Commit beb75a4

Browse files
Fix typo in VirtualMachine::_and
1 parent 6f0ac74 commit beb75a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ impl VirtualMachine {
603603

604604
pub fn _and(&mut self, a: PyObjectRef, b: PyObjectRef) -> PyResult {
605605
self.call_or_unsupported(a, b, "__and__", "__rand__", |vm, a, b| {
606-
Err(vm.new_unsupported_operand_error(a, b, "^"))
606+
Err(vm.new_unsupported_operand_error(a, b, "&"))
607607
})
608608
}
609609

0 commit comments

Comments
 (0)