Skip to main content

init_submodule

Function init_submodule 

Source
pub fn init_submodule<'py>(
    _name: &str,
    _py: Python<'py>,
    m: &Bound<'py, PyModule>,
) -> PyResult<()>
Expand description

Add this module’s classes, complex enums, consts, errors, functions, and submodules to the given Python module.