used-before-assignment
for assignment in inner try when outer try returns
#8686
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
Control flow
Requires control flow understanding
False Positive 🦟
A message is emitted but nothing is wrong with the code
Bug description
Looks like #5506 missed nested try blocks when accounting for (outer) try blocks that return.
Configuration
No response
Command used
Pylint output
Expected behavior
no msg
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: