return-arg-in-generator / E0106#

Message emitted:

Return with argument inside generator

Description:

Used when a "return" statement with an argument is found outside in a generator function or method (e.g. with some "yield" statements).

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 basic checker.