How to determine if an exception was raised once you're in the finally block? – stackoverflow.com

Is it possible to tell if there was an exception once you're in the finally clause? Something like: try: funky code finally: if ???: print('the funky code raised') I'm looking to ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to determine if an exception was raised once you're in the finally block? – stackoverflow.com"