We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11e9d81 + 452746c commit d3e8e47Copy full SHA for d3e8e47
vm/src/builtins/int.rs
@@ -208,7 +208,7 @@ where
208
209
fn inner_truediv(i1: &BigInt, i2: &BigInt, vm: &VirtualMachine) -> PyResult {
210
if i2.is_zero() {
211
- return Err(vm.new_zero_division_error("integer division by zero".to_owned()));
+ return Err(vm.new_zero_division_error("division by zero".to_owned()));
212
}
213
214
let value = if let (Some(f1), Some(f2)) = (i2f(i1), i2f(i2)) {
0 commit comments