global-at-module-level / W0604ΒΆ

Message emitted:

Using the global statement at the module level

Description:

Used when you use the "global" statement at the module level since it has no effect

Problematic code:

price = 25
global price  # [global-at-module-level]

Correct code:

price = 25

Related links:

Created by the variables checker.