Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
multiple exception
How to put Multiple exceptions into a single except block using parentheses
1 Réponse
+ 1
In Python, you can do this:
except (RuntimeError, TypeError, NameError):