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
fix linting in hash function
  • Loading branch information
giammirove committed Aug 20, 2025
commit 32c74b83346d0538a16b07ea9b2b7d811e98a0d0
4 changes: 2 additions & 2 deletions vm/src/protocol/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,10 @@ impl PyObject {
return hash(self, vm);
}

return Err(vm.new_exception_msg(
Err(vm.new_exception_msg(
vm.ctx.exceptions.type_error.to_owned(),
format!("unhashable type: '{}'", self.class().name()),
));
))
}

// type protocol
Expand Down
Loading