and [True,True] --> [True, True]?????

Grant Edwards invalid at invalid
Mon Apr 20 16:13:15 EDT 2009


On 2009-04-20, Martin v. L?wis <martin at v.loewis.de> wrote:

> I don't want to test whether the length of the list
> is greater than 0 [...] - I want to know whether the
> list is empty (or not empty).

I fail to see the difference between "length greater than 0"
and "list is not empty".  They are, by definition, the same
thing, aren't they?

-- 
Grant Edwards                   grante             Yow! ... My pants just went
                                  at               on a wild rampage through a
                               visi.com            Long Island Bowling Alley!!



More information about the Python-list mailing list