pyo3/newsfragments/2734.changed.md

4 lines
184 B
Markdown
Raw Normal View History

`PyAny::cast_as()` and `Py::cast_as()` are now deprecated in favor of
`PyAny::downcast()` and the new `Py::downcast()`. The `PyAny::downcast()`
lifetime bounds where slightly relaxed.