pyo3/newsfragments/3871.added.md

126 B

Add Py::drop_ref to explicitly drop a `Py`` and immediately decrease the Python reference count if the GIL is already held.