MCPcopy Create free account
hub / github.com/PyO3/rust-numpy / get_np_locals

Function get_np_locals

tests/array_like.rs:9–13  ·  view source on GitHub ↗
(py: Python<'_>)

Source from the content-addressed store, hash-verified

7};
8
9fn get_np_locals(py: Python<'_>) -> Bound<'_, PyDict> {
10 [("np", get_array_module(py).unwrap())]
11 .into_py_dict(py)
12 .unwrap()
13}
14
15#[test]
16fn extract_reference() {

Calls 1

get_array_moduleFunction · 0.85