Truthiness

Skip Montanaro skip.montanaro at gmail.com
Thu Oct 23 10:51:47 EDT 2014


On Thu, Oct 23, 2014 at 9:30 AM, Simon Kennedy <sffjunkie at gmail.com> wrote:

> Just out of academic interest, is there somewhere in the Python docs where
> the following is explained?


Yes:

https://docs.python.org/3/library/stdtypes.html#truth-value-testing
https://docs.python.org/2.7/library/stdtypes.html#truth-value-testing

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141023/4032ba92/attachment.html>


More information about the Python-list mailing list