pyo3/newsfragments/2914.changed.md

2 lines
175 B
Markdown

FFI definition `PyIter_Check` on CPython 3.7 now does the equivalent for `hasattr(type(obj), "__next__")`, which works correctly on all platforms and adds support for `abi3`.