Skip to main content

register

Function register 

Source
pub fn register(parent_module: &Bound<'_, PyModule>) -> PyResult<()>
Expand description

Registers the parser module with the parent Python module.

Adds the parser submodule to the parent Python module, exposing PDF set parser utilities to Python.

ยงErrors

Returns a PyErr if the submodule cannot be created or added, or if any class registration fails.