Browse Source

Exceptions

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

2
README.md

@ -1361,7 +1361,7 @@ BaseException
+-- ValueError # When an argument is of right type but inappropriate value.
+-- UnicodeError # Raised when encoding/decoding strings from/to bytes fails.
```
* **Appropriate built-in exceptions for user to rise are: 'ValueError', 'TypeError' and 'RuntimeError'..**
* **Appropriate built-in exceptions for user to rise are: 'ValueError', 'TypeError' and 'RuntimeError'.**
Print

2
index.html

@ -1256,7 +1256,7 @@ KeyboardInterrupt
+-- UnicodeError <span class="hljs-comment"># Raised when encoding/decoding strings from/to bytes fails. </span>
</code></pre>
<ul>
<li><strong>Appropriate built-in exceptions for user to rise are: 'ValueError', 'TypeError' and 'RuntimeError'..</strong></li>
<li><strong>Appropriate built-in exceptions for user to rise are: 'ValueError', 'TypeError' and 'RuntimeError'.</strong></li>
</ul>
<h2 id="print"><a href="#print" name="print">#</a>Print</h2>
<pre><code class="python language-python hljs">print(&lt;el_1&gt;, ..., sep=<span class="hljs-string">' '</span>, end=<span class="hljs-string">'\n'</span>, file=sys.stdout, flush=<span class="hljs-keyword">False</span>)

Loading…
Cancel
Save