A film school graduate who somehow tripped into code and ended up working on some amazing movies before (and after) travelling all over the world... go figure.
No, sorry, it means that the finally BLOCK, if present at all, must appear below any except BLOCKS that exist and also below the optional else BLOCK, if that exists.
So finally cannot appear above else or except, and else cannot appear above except. Does that clear it up?
A film school graduate who somehow tripped into code and ended up working on some amazing movies before (and after) travelling all over the world... go figure.
No, sorry, it means that the finally BLOCK, if present at all, must appear below any except BLOCKS that exist and also below the optional else BLOCK, if that exists.
So finally cannot appear above else or except, and else cannot appear above except. Does that clear it up?
Thank you for this great Article. I'm still reading it and learning.
It's so much fluent that this sentence was the only hard thing to understand.
You can say "It must be the last of 'except', 'else' or 'finally' blocks, if any of those are present."
Good point, I'll update that to be a little more readable. Thanks!