Skip to content

Commit d0d27ba

Browse files
Merge pull request RustPython#443 from OddCoincidence/fix-typo
Fix typo in VirtualMachine::_and
2 parents 6f0ac74 + beb75a4 commit d0d27ba

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)