Skip to main content

append_to_inittab

Macro append_to_inittab 

Source
macro_rules! append_to_inittab {
    ($module:ident) => { ... };
}
Available on crate feature macros and neither GraalPy, nor PyPy, nor Py_GIL_DISABLED and Py_LIMITED_API 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 Python::initialize and leave feature auto-initialize off

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