<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
# Here is something different:<br>
>>> (0 or None) == (None or 0)<br>
False</blockquote><div><br></div><div>What is the actual problem? You quoted the docs, it seems very clear.</div><div><br></div><div>(0 or None) would return None.</div><div><br></div><div>(None or 0) would return 0.</div>

<div><br></div><div>None is not equal to 0, of course.</div><div><br></div><div>--S</div></div>