We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9305932 commit 22bd57bCopy full SHA for 22bd57b
crates/vm/src/builtins/bool.rs
@@ -47,7 +47,7 @@ impl PyObjectRef {
47
48
// 1. Try nb_bool slot first
49
if let Some(nb_bool) = slots.as_number.boolean.load() {
50
- return Ok(nb_bool(self.as_object().number(), vm)?);
+ return nb_bool(self.as_object().number(), vm);
51
}
52
53
// 2. Try sq_length slot
0 commit comments