0

try/except statements in class methods

Are try/except statements ever used in classes? I’ve never seen them being taught in those topics.

30th Sep 2019, 11:40 AM
Stheven Cabral
1 Antwort
0
not necessary, but very useful, after all, try / except is for trying something unless something happens, it can be used to report an error (catch) for example, but this is not required
30th Sep 2019, 11:59 AM
Wardy Spirit
Wardy Spirit - avatar