undefined-loop-variable / W0631#

Message emitted:

Using possibly undefined loop variable %r


Used when a loop variable (i.e. defined by a for loop or a list comprehension or a generator expression) is used outside the loop.

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