Coding style

tac-tics tactics40 at gmail.com
Mon Jul 17 12:28:37 EDT 2006


> 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.




More information about the Python-list mailing list