Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyGlobalUndefinedInspection
/
severalGlobals.py
blob: 64c131c0abcaf0ae4c03e11dc8fd75e05503c60d [
file
]
def
foo
():
global
<
weak_warning descr
=
"Global variable 'var' is undefined at the module level"
>
var
</
weak_warning
>
var
=
1
def
bar
():
global
<
weak_warning descr
=
"Global variable 'var' is undefined at the module level"
>
var
</
weak_warning
>
var
=
2