mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-07-22 20:21:36 +08:00
Fixes #896. From Python docs: "Once an iterator’s `__next__()` method raises `StopIteration`, it must continue to do so on subsequent calls. Implementations that do not obey this property are deemed broken."