Last active
April 8, 2022 11:39
-
-
Save pointofpresence/912065656e4c08c398e3e3180a11bad0 to your computer and use it in GitHub Desktop.
Python Catch multiple exceptions in one line
This file contains hidden or 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
except (IDontLikeYouException, YouAreBeingMeanException) as e: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment