self destruction :)

Guyon Morée gumuz at looze.net
Fri Jun 28 05:37:27 EDT 2002


>   x = [a, b, c]
>
> and you want to remove b from the list?
>
> Just say "del x[1]".


yep this is actually what i mean, but the problem is is that this action
should come from the object within the list. this is object 'knows' when
it's done, the list doesn't

see my problem?

ps. thanx everyone who responded so quickly





More information about the Python-list mailing list