MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / pymethods_get_temp_args

Function pymethods_get_temp_args

src/python/py_expr.rs:789–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

787
788 #[test]
789 fn pymethods_get_temp_args() {
790 let e = PyExpr::named(Expr::ArgRef(10), "x".to_string(), 10);
791 let ta = e.get_temp_args();
792 assert_eq!(ta.len(), 1);
793 assert_eq!(ta.get(&10), Some(&"x".to_string()));
794 }
795
796 #[test]
797 fn pymethods_get_referenced_args() {

Callers

nothing calls this directly

Calls 1

get_temp_argsMethod · 0.80

Tested by

no test coverage detected