pyo3/newsfragments/2881.changed.md
2023-05-18 22:25:27 +01:00

2 lines
129 B
Markdown

`PyAny::is_instance_of::<T>(obj)` is now equivalent to `T::is_type_of(obj)`, and now returns `bool` instead of `PyResult<bool>`.