pyo3/newsfragments/2881.changed.md

2 lines
129 B
Markdown
Raw Normal View History

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