diff --git a/README.md b/README.md index 816eaae..9d243d8 100644 --- a/README.md +++ b/README.md @@ -1367,7 +1367,7 @@ except : ### Common Built-in Exceptions ```text -BaseException # Not meant to be extended by user-defined exceptions. +BaseException +-- 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 7a489f5..e4d3268 100644 --- a/index.html +++ b/index.html @@ -1258,7 +1258,7 @@ LogicOp = Enum('LogicOp', {raise

Common Built-in Exceptions

-
BaseException                     # Not meant to be extended by user-defined exceptions.
+
BaseException
  +-- 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.