I agree with this change. For me there is a much simpler, more compelling example (maybe it’s worth including in the PEP):
def f() -> bool:
try:
return True
finally:
return False
What does f()
return?
I agree with this change. For me there is a much simpler, more compelling example (maybe it’s worth including in the PEP):
def f() -> bool:
try:
return True
finally:
return False
What does f()
return?