Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyUnboundLocalVariableInspection
/
UnboundConditionalImportAlias.py
blob: d867d1f4928750ebabb6753cd584c370fd9bda20 [
file
] [
log
] [
blame
]
def
f
(
c
,
x
):
if
c
:
from
re
import
compile
as
g
else
:
pass
return
<
warning descr
=
"Local variable 'g' might be referenced before assignment"
>
g
</
warning
>(
x
)
#fail