The del statement

Fredrik Lundh fredrik at pythonware.com
Thu Dec 7 03:08:15 EST 2006


Marco Aschwanden wrote:

> <opinion>I am not convinced though that del should also remove elements  
> from a container/sequence.</opinion>

in today's Python, you can use "del" on all targets that you can assign 
to.  I'm not sure how breaking this consistency would somehow improve 
things...

</F>




More information about the Python-list mailing list