<li><strong>Another solution in this particular case is to use built-in functions <codeclass="python hljs"><spanclass="hljs-string">'and_'</span></code> and <codeclass="python hljs"><spanclass="hljs-string">'or_'</span></code> from the module <ahref="#operator">operator</a>.</strong></li>
<li><strong>Another solution in this particular case is to use built-in functions and_() and or_() from the module <ahref="#operator">operator</a>.</strong></li>
+-- StopIteration # Raised by next() when run on an empty iterator.
+-- TypeError # Raised when an argument is of wrong type.
+-- ValueError # When an argument is of right type but inappropriate value.
+-- UnicodeError # Raised when encoding/decoding strings from/to bytes fails.
+-- UnicodeError # Raised when encoding/decoding strings to/from bytes fails.
</code></pre></div>
<div><h4id="collectionsandtheirexceptions">Collections and their exceptions:</h4><pre><codeclass="text language-text">+-----------+------------+------------+------------+