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