Inspectopedia
 
2024.3

Global variable is not defined at the module level

Info
New
Last modified: 03 December 2024

Reports problems when a variable defined through the global statement is not defined in the module scope.

Example:

As a fix, you can move the global variable declaration: