checking if a list is empty

Terry Reedy tjreedy at udel.edu
Thu May 12 15:37:48 EDT 2011


On 5/11/2011 8:26 AM, Roy Smith wrote:

> I conclude that li == [] should have returned False.  Either I'm not
> understanding things correctly, or this is a bug.

The doc is wrong (and not only on this). I am working on a report with 
suggested fixes. Will post number when finish.

-- 
Terry Jan Reedy




More information about the Python-list mailing list