February 2006
Intermediate to advanced
648 pages
14h 53m
English
Built-in exceptions are contained in the exceptions module, which is always loaded prior to the execution of any program. Exceptions are defined as classes. The following exceptions serve as base classes for all the other exceptions:
ExceptionThe root class for all exceptions. All built-in exceptions are derived from this class. User-defined exceptions should use this as a base class.
StandardErrorThe base class for all built-in exceptions except for SystemExit and StopIteration.
ArithmeticErrorThe base class for arithmetic exceptions, including OverflowError, ZeroDivisionError, and FloatingPointError.
LookupErrorThe base class for indexing and key errors, including IndexError and KeyError.
EnvironmentErrorThe base class ...
Read now
Unlock full access