Skip to content

Instantly share code, notes, and snippets.

@Lukasa
Created January 7, 2016 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lukasa/4e1c9fefc04c038c7e89 to your computer and use it in GitHub Desktop.
Save Lukasa/4e1c9fefc04c038c7e89 to your computer and use it in GitHub Desktop.
Raise works outside of except blocks
try:
[][-1]
except IndexError:
pass
raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment