blob: 9ab6d7639b3966bc0ba516f418eb9719dd7c8e9a [file]
def foo():
var = "local"
def bar():
nonlocal var
print(var)
del var
print(<warning descr="Local variable 'var' might be referenced before assignment">var</warning>)