Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in VirtualMachine::_and
  • Loading branch information
OddCoincidence committed Feb 12, 2019
commit beb75a4dd0299c1b6eefcdb1b30b010c48e8cf32
2 changes: 1 addition & 1 deletion vm/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, "&"))
})
}

Expand Down