python-distilled
python-distilled copied to clipboard
2.7 BooleanExpressionsandTruthValues
Is there any reason sets are not included in below sentence ? "When you use an expression to determine a true or false value, True , any nonzero number, a nonempty string, list, tuple, or dictionary is taken to be true. False , zero, None , and empty lists, tuples, and dictionaries evaluate as false."
I forgot?
OK thanks, just checking I wasn't missing something in my understanding.
Added to errata. Thanks!