pyo3/newsfragments/3142.fixed.md

2 lines
151 B
Markdown

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