<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 9:30 AM, Simon Kennedy <span dir="ltr"><<a href="mailto:sffjunkie@gmail.com" target="_blank">sffjunkie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Just out of academic interest, is there somewhere in the Python docs where the following is explained?</blockquote></div><br>Yes:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://docs.python.org/3/library/stdtypes.html#truth-value-testing">https://docs.python.org/3/library/stdtypes.html#truth-value-testing</a><br></div><div class="gmail_extra"><a href="https://docs.python.org/2.7/library/stdtypes.html#truth-value-testing">https://docs.python.org/2.7/library/stdtypes.html#truth-value-testing</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Skip</div><div class="gmail_extra"><br><div><br></div></div></div>