Skip to content

Commit ebe487c

Browse files
committed
Exceptions
1 parent e877ddd commit ebe487c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ except <exception>:
13671367

13681368
### Common Built-in Exceptions
13691369
```text
1370-
BaseException # Not meant to be extended by user-defined exceptions.
1370+
BaseException
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.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 # Not meant to be extended by user-defined exceptions.
1261+
<pre><code class="text language-text">BaseException
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.

0 commit comments

Comments
 (0)