pyo3/newsfragments/3131.changed.md

2 lines
112 B
Markdown

Extend the lifetime of the GIL token returned by `PyRef::py` and `PyRefMut::py` to match the underlying borrow.