invalid-bool-returned / E0304#

Message emitted:

__bool__ does not return bool

Description:

Used when a __bool__ method returns something which is not a bool

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.