On Jul 29, 10:33 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Jul 30, 1:15 am, "Russ P." <[EMAIL PROTECTED]> wrote:

> > Having said that, it would sure be nice to be able to write
>
> > if myList is not empty:
>
> > instead of
>
> > if len(myList) != 0:
>
> I can agree with this.

But I guess that could only work if there were only one empty list
that represents all empty lists (as there is only one actual "None").
I don't know if that makes sense or not.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to