Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ make_bool
Method
make_bool
crates/vm/src/stdlib/marshal.rs:387–389 ·
view source on GitHub ↗
(&self, value: bool)
Source
from the content-addressed store, hash-verified
385
type ConstantBag = PyObjBag<'a>;
386
387
fn make_bool(&self, value: bool) -> Self::Value {
388
self.0.ctx.new_bool(value).into()
389
}
390
fn make_none(&self) -> Self::Value {
391
self.0.ctx.none()
392
}
Callers
nothing calls this directly
Calls
1
new_bool
Method · 0.45
Tested by
no test coverage detected