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.
1 Odpowiedź
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