A list which at first gives the appearance of being iterable, but then raises an exception.

See BadList for a warning about not writing code like this.

Method __iter__ Return an iterator which will raise an exception as soon as next is called on it.
def __iter__(self):

Return an iterator which will raise an exception as soon as next is called on it.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.