I’m trying to find out which methods and attributes come with the mother of all exception classes in python: the Exception class. However, I’m having a bit of trouble since the official documentation doesn’t seem to provide it.
The best I could find was this: http://docs.python.org/library/exceptions.html but that only lists the built-in exceptions.
What’s going on? I’m used to the Java and PHP documentations where everything is laid down on the table 🙁
The built-in function
dirwill give a list of names comprising the methods and attributes of an object.You can also get help using the
helpmethod:help(Exception).