MCPcopy Index your code
hub / github.com/RustPython/RustPython / bool_eq

Method bool_eq

crates/vm/src/vm/vm_ops.rs:78–80  ·  view source on GitHub ↗
(&self, a: &PyObject, b: &PyObject)

Source from the content-addressed store, hash-verified

76impl VirtualMachine {
77 #[inline]
78 pub fn bool_eq(&self, a: &PyObject, b: &PyObject) -> PyResult<bool> {
79 a.rich_compare_bool(b, PyComparisonOp::Eq, self)
80 }
81
82 pub fn identical_or_equal(&self, a: &PyObject, b: &PyObject) -> PyResult<bool> {
83 if a.is(b) {

Callers 15

array_eqMethod · 0.80
cmpMethod · 0.80
key_eqMethod · 0.80
test_insertFunction · 0.80
richcompareMethod · 0.80
countMethod · 0.80
indexMethod · 0.80
containsMethod · 0.80
count_ofFunction · 0.80
index_ofFunction · 0.80
cmpMethod · 0.80

Calls 1

rich_compare_boolMethod · 0.80

Tested by 1

test_insertFunction · 0.64