> Or even just: > > lst = [] > > ;-) Indeed.
I'd say the second one. Empty lists are not false. They are empty. Long live dedicated boolean data types. -- http://mail.python.org/mailman/listinfo/python-list
> Or even just: > > lst = [] > > ;-) Indeed.
I'd say the second one. Empty lists are not false. They are empty. Long live dedicated boolean data types. -- http://mail.python.org/mailman/listinfo/python-list