[][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].