The del statement

Fredrik Lundh fredrik at pythonware.com
Tue Dec 5 03:16:00 EST 2006


Marco Aschwanden wrote:

> Where
> 
> list.del(elem)
> map.del(elem)
> 
> would achieve the same result (and I think, this is what happens in the  
> backend).

so what about

     del x

?

> The same discussion was done for the "external" len-function (list.len()  
> vs. len(list)).

for the curious, guido's rationale for len() can be found here:

   http://preview.tinyurl.com/y6vavp

</F>




More information about the Python-list mailing list