MCPcopy 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)]
71pub struct PyBool(pub PyInt);
72
73impl Debug for PyBool {
74 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {

Callers 1

init_genesisMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected