diff --git a/vm/src/vm.rs b/vm/src/vm.rs index 30e186150..db4396dc9 100644 --- a/vm/src/vm.rs +++ b/vm/src/vm.rs @@ -557,7 +557,7 @@ impl VirtualMachine { } pub fn _div(&mut self, a: PyObjectRef, b: PyObjectRef) -> PyResult { - self.call_or_unsupported(a, b, "__truediv__", "__truediv__", "/") + self.call_or_unsupported(a, b, "__truediv__", "__rtruediv__", "/") } pub fn _pow(&mut self, a: PyObjectRef, b: PyObjectRef) -> PyResult {