mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
8 lines
258 B
Python
8 lines
258 B
Python
def f(g, h, x):
|
|
if x > 1:
|
|
z = g
|
|
elif x:
|
|
z = h
|
|
# local z may be unbound, inspection fails only when z is in function call
|
|
return <warning descr="Local variable 'z' might be referenced before assignment">z</warning>() #fail
|