invalid-length-hint-returned / E0310#

Message emitted:

__length_hint__ does not return non-negative integer


Used when a __length_hint__ method returns something which is not a non-negative integer

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.