No, pyflakes will catch that and always would to my knowledge. It did have a bug or three where it would miss an occasional issue but they were bugs (not impossible to detect) and fixed years ago.
The error message is slightly obtuse, says something like "variable only used once." But is clear after inspection the first time.
The error message is slightly obtuse, says something like "variable only used once." But is clear after inspection the first time.