try:
raise ValueError(534)
except ValueError as e:
print(type(e), e.args)
# Var bound in except block is automatically deleted
e
except NameError:
print("NameError")