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

Function ne

crates/vm/src/stdlib/_operator.rs:42–44  ·  view source on GitHub ↗
(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

40
41 #[pyfunction]
42 fn ne(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
43 a.rich_compare(b, PyComparisonOp::Ne, vm)
44 }
45
46 #[pyfunction]
47 fn not_(a: PyObjectRef, vm: &VirtualMachine) -> PyResult<bool> {

Callers

nothing calls this directly

Calls 1

rich_compareMethod · 0.80

Tested by

no test coverage detected