0
multiple exception
How to put Multiple exceptions into a single except block using parentheses
2 Antworten
+ 1
In Python, you can do this:
except (RuntimeError, TypeError, NameError):
How to put Multiple exceptions into a single except block using parentheses