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

Method right_ternary_op

crates/vm/src/protocol/number.rs:589–595  ·  view source on GitHub ↗
(&self, op_slot: PyNumberTernaryOp)

Source from the content-addressed store, hash-verified

587 }
588
589 pub fn right_ternary_op(&self, op_slot: PyNumberTernaryOp) -> Option<PyNumberTernaryFunc> {
590 use PyNumberTernaryOp::*;
591 match op_slot {
592 Power => self.right_power.load(),
593 _ => None,
594 }
595 }
596}
597#[derive(Copy, Clone)]
598pub struct PyNumber<'a> {

Callers 1

ternary_opMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected