pyo3/newsfragments/3131.changed.md

2 lines
112 B
Markdown
Raw Normal View History

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