Use cases for del

Benji York benji at benjiyork.com
Wed Jul 6 15:21:48 EDT 2005


Stian Søiland wrote:
> Yes, and we can make 
> 
>     someunknownlist[] = 2
> 
> magically do someunknownlist = list() and append 2.

I hope you're being sarcastic.  :)

If not, why don't you like:

	some_list = [2]
--
Benji York



More information about the Python-list mailing list