pyo3/newsfragments/3142.fixed.md

151 B

Extend lifetime of holder variables to avoid "temporary value dropped while borrowed" errors when #[pyfunction]s take references into #[pyclass]es