Deleting objects

Terry Reedy tjreedy at
Thu Jan 15 05:39:47 CET 2004

<user at domain.invalid> wrote in message
news:c542f8acd755de732c9da8fc39fbb50a at
> Say I have an object (foo), that contains an
> array (bar) of references to other objects.
> Now I want to puff some of the objects from the
> array so that I remove the array element, and
> destroy the oject.
> but when I do:
> del[0]
> Python says:
>   object doesn't support item deletion

What is the actual type of  >>>type( # prints what?


More information about the Python-list mailing list