mirror of
https://github.com/python/cpython.git
synced 2026-05-31 16:49:25 -04:00
86103ae531
it_seq field when the end of the list is reached. Also remove the next() method -- one is supplied automatically by PyType_Ready() because the tp_iternext slot is set. That's a good thing, because the implementation given here was buggy (it never raised StopIteration).