Marco Aschwanden wrote:
> 2. Calls the destructor of an object --> list.destruct()
"del name" only removes the name from the current namespace, it doesn't
destroy the object:
http://effbot.org/pyref/del
the actual destruction is handled by the garbage collector, when the
time is right.
> The del keyword for removing an element in a container is a bit
> awkward to me.
do you find the x[i] syntax for calling the getitem/setitem methods a
bit awkward too? what about HTTP's use of "GET" and "POST" for most
about everything ? ;-)
</F>
--
http://mail.python.org/mailman/listinfo/python-list