Browse Source

Exceptions

pull/36/head
Jure Šorn 5 years ago
parent
commit
ebe487c0ff
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -1367,7 +1367,7 @@ except <exception>:
### 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.

2
index.html

@ -1258,7 +1258,7 @@ LogicOp = Enum(<span class="hljs-string">'LogicOp'</span>, {<span class="hljs-st
<span class="hljs-keyword">raise</span>
</code></pre>
<h3 id="commonbuiltinexceptions">Common Built-in Exceptions</h3>
<pre><code class="text language-text">BaseException # Not meant to be extended by user-defined exceptions.
<pre><code class="text language-text">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.

Loading…
Cancel
Save