forstat
Python For Statement Test Module.
Iterable Object
- __iter__():
Return a iterator which implements __next__().
Class implements the __next__().
Work with yield which turns to a generator.
All objects above are iterable objects.
- __getitem__():
Container holds a collection of iterable objects.
Container implements this method for subscription. It also turns itself as a iterable object.
- Author:
JLDP
- Version:
2023.12.09.1