[Python] Falsey empty data structures
Trent Robbins
robbintt at gmail.com
Tue Dec 1 06:37:04 UTC 2015
Hi All,
Tonight we talked about empty lists, strings, dicts, and other empty data
structures providing "false-like" values when evaluated. We didn't cover
this completely so for a better explanation, check out the Truth Value
Testing section of the built-in types documentation (link below).
https://docs.python.org/2/library/stdtypes.html#truth-value-testing
Thanks!
Trent
--
(Sent from cellphone)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.noisebridge.net/pipermail/python/attachments/20151130/171f83a1/attachment-0002.html>
More information about the Python
mailing list