Macro pyo3::import_exception_bound

source ·
macro_rules! import_exception_bound {
    ($module: expr, $name: ident) => { ... };
}
Expand description

Variant of import_exception that does not emit code needed to use the imported exception type as a GIL Ref.

This is useful only during migration as a way to avoid generating needless code.

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