Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add specialization differential harness and align init error text
  • Loading branch information
youknowone committed Mar 10, 2026
commit cb156c1db6b5221fe2e4048a823e5ca9e88b963b
2 changes: 1 addition & 1 deletion crates/vm/src/types/slot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ fn init_wrapper(obj: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResu
let res = vm.call_special_method(&obj, identifier!(vm, __init__), args)?;
if !vm.is_none(&res) {
return Err(vm.new_type_error(format!(
"__init__ should return None, not '{:.200}'",
"__init__() should return None, not '{:.200}'",
res.class().name()
)));
}
Expand Down