Created
October 24, 2017 14:55
-
-
Save iFreilicht/40adede4675f435facfe39ef77cfb614 to your computer and use it in GitHub Desktop.
Run this file in a python debugger and then stop execution. The final print statement should be reached.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import time | |
try: | |
while True: | |
print('Sleeping...') | |
time.sleep(1) | |
finally: | |
print('Reached finally clause!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment