SwashBuckler001's picture
IdiomBench (part 2)
454dedb 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.