Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace PyErr::from_instance with PyErr::from_value
Since [pyo3 0.16.0](https://pyo3.rs/main/changelog): Rename some methods on PyErr (the old names are just marked deprecated for now): - pytype -> get_type - pvalue -> value (and deprecate equivalent instance) - ptraceback -> traceback - from_instance -> from_value - into_instance -> into_value PyO3/pyo3#2026
- Loading branch information