Does finally always execute in Python? – stackoverflow.com

For any possible try-finally block in Python, is it guaranteed that the finally block will always be executed? For example, what happens if I return while in an except block? try: 1/0 except ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Does finally always execute in Python? – stackoverflow.com"