MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / OrdPyObject

Class OrdPyObject

extensions/tests/btree.rs:15–15  ·  view source on GitHub ↗

Newtype around PyObject that implements Ord using python value comparisons. Python exceptions are converted into Rust panics.

Source from the content-addressed store, hash-verified

13/// Newtype around PyObject that implements Ord using python value comparisons.
14/// Python exceptions are converted into Rust panics.
15struct OrdPyObject(PyObject);
16
17impl PartialEq for OrdPyObject {
18 fn eq(&self, _other: &Self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected