pyo3/newsfragments/3330.changed.md

2 lines
195 B
Markdown
Raw Normal View History

Change `PyDict::get_item` to no longer suppress arbitrary exceptions (the return type is now `PyResult<Option<&PyAny>>` instead of `Option<&PyAny>`), and deprecate `PyDict::get_item_with_error`.