Inspectopedia
 
2024.3

Unbound local variables

Warning
New
Last modified: 03 December 2024

Reports local variables referenced before assignment.

Example:

The IDE reports a problem for print(b). A possible fix is: