Daiyue Weng
2016-09-13 10:42:33 UTC
Hi, I defined a global variable in some function like this,
def some_function(self):
global global_var
PyCharm inspection gave me,
Global variable is undefined at the module level
How to fix this?
cheers
def some_function(self):
global global_var
PyCharm inspection gave me,
Global variable is undefined at the module level
How to fix this?
cheers