pyo3

Macro append_to_inittab

Source
macro_rules! append_to_inittab {
    ($module:ident) => { ... };
}
Available on crate feature macros and neither PyPy nor GraalPy only.
Expand description

Add the module to the initialization table in order to make embedded Python code to use it. Module name is the argument.

Use it before prepare_freethreaded_python and leave feature auto-initialize off

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here