undefined-loop-variable in walrus in comprehension test #7222
Labels
Assignment expression
Related to the walrus operator / assignment expression
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
I think I'm getting a spurious undefined-loop-variable warning when:
x
, here) is the same as a previous loopConfiguration
No response
Command used
Pylint output
Expected behavior
Shouldn't warn.
Pylint version
OS / Environment
ubuntu 21.10
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: