0

What does Exception name here represents ?

In Java when try and catch are written the reference of the exception class in written inside parenthesis of catch. But what about Python? What does the name of class written with catch represents?

20th Jan 2020, 3:30 PM
parag sahu
parag sahu - avatar
5 odpowiedzi
+ 2
parag sahu which question as there are 3 - so which one ? Thanks
20th Jan 2020, 4:20 PM
BroFar
BroFar - avatar
+ 2
I believe dunder is the general term and methods you are speaking of in Python https://dbader.org/blog/python-repr-vs-str
20th Jan 2020, 4:56 PM
BroFar
BroFar - avatar
0
Here is a reference to explain your questions. A direct explanation would be lengthy at best ... and confusing as well. https://jython.readthedocs.io/en/latest/chapter6/
20th Jan 2020, 3:42 PM
BroFar
BroFar - avatar
0
BroFar thank u so much for the answer. I've gone through it really finds things very helpful especially for the programmer belongs to java background like me. But I didn't found my answer though. So it will be really helpful if u can explain it to me.
20th Jan 2020, 3:59 PM
parag sahu
parag sahu - avatar
0
BroFar the 3rd one
20th Jan 2020, 4:30 PM
parag sahu
parag sahu - avatar