diff --git a/README.md b/README.md index 9d243d8..816eaae 100644 --- a/README.md +++ b/README.md @@ -1367,7 +1367,7 @@ except : ### Common Built-in Exceptions ```text -BaseException +BaseException # Not meant to be extended by user-defined exceptions. +-- SystemExit # Raised by the sys.exit() function. +-- KeyboardInterrupt # Raised when the user hits the interrupt key. +-- Exception # User-defined exceptions should be derived from this class. diff --git a/index.html b/index.html index e4d3268..7a489f5 100644 --- a/index.html +++ b/index.html @@ -1258,7 +1258,7 @@ LogicOp = Enum('LogicOp', {raise

Common Built-in Exceptions

-
BaseException
+
BaseException                     # Not meant to be extended by user-defined exceptions.
  +-- SystemExit                   # Raised by the sys.exit() function.
  +-- KeyboardInterrupt            # Raised when the user hits the interrupt key.
  +-- Exception                    # User-defined exceptions should be derived from this class.