[not-an-iterable] FP for attribute used in comprehension but guarded in if test #9729
Labels
Astroid
Related to astroid
False Positive 🦟
A message is emitted but nothing is wrong with the code
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Needs astroid constraint
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
No error
Pylint version
OS / Environment
MacOS 14.4.1
Python 3.12.0
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: