invalid-format-returned / E0311#

Message emitted:

__format__ does not return str

Description:

Used when a __format__ method returns something which is not a string

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.