Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ PyBool
Class
PyBool
crates/vm/src/builtins/bool.rs:71–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
#[pyclass(name =
"bool"
, module = false, base = PyInt, ctx =
"bool_type"
)]
70
#[repr(transparent)]
71
pub struct PyBool(pub PyInt);
72
73
impl Debug for PyBool {
74
fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
Callers
1
init_genesis
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected