non-iterator-returned / E0301#

Message emitted:

__iter__ returns non-iterator


Used when an __iter__ method returns something which is not an iterable (i.e. has no `__next__` method)

Correct code:

# This is a placeholder for correct code for this message.

Additional details:

You can help us make the doc better by contributing !

Created by the classes checker.