SwashBuckler001's picture
IdiomBench (part 10)
c6ed2d8 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.