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