File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1367,7 +1367,7 @@ except <exception>:
13671367
13681368### Common Built-in Exceptions
13691369``` text
1370- BaseException
1370+ BaseException # Not meant to be extended by user-defined exceptions.
13711371 +-- SystemExit # Raised by the sys.exit() function.
13721372 +-- KeyboardInterrupt # Raised when the user hits the interrupt key.
13731373 +-- Exception # User-defined exceptions should be derived from this class.
Original file line number Diff line number Diff line change @@ -1258,7 +1258,7 @@ <h4 id="reraisingcaughtexception">Re-raising caught exception:</h4>
12581258 < span class ="hljs-keyword "> raise</ span >
12591259</ code > </ pre >
12601260< h3 id ="commonbuiltinexceptions "> Common Built-in Exceptions</ h3 >
1261- < pre > < code class ="text language-text "> BaseException
1261+ < pre > < code class ="text language-text "> BaseException # Not meant to be extended by user-defined exceptions.
12621262 +-- SystemExit # Raised by the sys.exit() function.
12631263 +-- KeyboardInterrupt # Raised when the user hits the interrupt key.
12641264 +-- Exception # User-defined exceptions should be derived from this class.
You can’t perform that action at this time.
0 commit comments