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

Method eq

crates/vm/src/object/core.rs:2072–2074  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

2070{
2071 #[inline]
2072 fn eq(&self, other: &Self) -> bool {
2073 self.deref().eq(other.deref())
2074 }
2075}
2076
2077impl<T> Eq for Py<T> where T: Eq + PyPayload {}

Callers 1

breakpointhookFunction · 0.45

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected