[][src]Macro pyo3::wrap_pymodule

macro_rules! wrap_pymodule {
    ($module_name:ident) => { ... };
}

Returns a function that takes a Python instance and returns a python module.

Use this together with #[pymodule] and types::PyModule::add_wrapped.