0

multiple exception

How to put Multiple exceptions into a single except block using parentheses

24th Mar 2018, 1:57 AM
Anwar Badurudeen
Anwar Badurudeen - avatar
1 Respuesta
+ 1
In Python, you can do this: except (RuntimeError, TypeError, NameError):
24th Mar 2018, 2:04 AM
cyk
cyk - avatar