Skip to content

Commit dbbefab

Browse files
committed
Fix new_unsupported_bin_op_error error message
1 parent 7bfa5d9 commit dbbefab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/vm/src/vm/vm_new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl VirtualMachine {
198198
op: &str,
199199
) -> PyBaseExceptionRef {
200200
self.new_type_error(format!(
201-
"'{}' not supported between instances of '{}' and '{}'",
201+
"unsupported operand type(s) for {}: '{}' and '{}'",
202202
op,
203203
a.class().name(),
204204
b.class().name()

0 commit comments

Comments
 (0)