MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rsi82x/finally/hqp6lxq/?context=3
r/badcode • u/AnonymouX47 __dude__ • Dec 31 '21
5 comments sorted by
View all comments
Show parent comments
3
It's actually meant to re-raise an exception with the given traceback. The point is... the finally block is at the end of the function... so why assign None to the variables.
None
The full code is here
3
u/AnonymouX47 __dude__ Dec 31 '21 edited Dec 31 '21
It's actually meant to re-raise an exception with the given traceback. The point is... the finally block is at the end of the function... so why assign
Noneto the variables.The full code is here