We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a29c4c commit 32c74b8Copy full SHA for 32c74b8
vm/src/protocol/object.rs
@@ -646,10 +646,10 @@ impl PyObject {
646
return hash(self, vm);
647
}
648
649
- return Err(vm.new_exception_msg(
+ Err(vm.new_exception_msg(
650
vm.ctx.exceptions.type_error.to_owned(),
651
format!("unhashable type: '{}'", self.class().name()),
652
- ));
+ ))
653
654
655
// type protocol
0 commit comments