FURTHER CLARIFICATION: How to correctly write Try..Finally..Except statements?

后端 未结 3 1208
猫巷女王i
猫巷女王i 2020-12-18 16:24

RE: How to correctly write Try..Finally..Except statements?

I\'m still confused by the OP\'s original question. Specifically, the last line of the procedure (outside

3条回答
  •  余生分开走
    2020-12-18 16:39

    You don't actually catch the exception. In this case, upon exception, the "finally" block of code will execute, and then the exception will unwind the stack.

提交回复
热议问题