SwashBuckler001's picture
IdiomBench (part 4)
5501846 verified
Raw History Blame Contribute Delete
115 Bytes
def f():
a: int
print(a) # raises UnboundLocalError
# Commenting out the a: int makes it a NameError.