del and sets proposal
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Thu Oct 2 19:55:42 EDT 2008
On Thu, 02 Oct 2008 16:48:42 -0700, Jon Clements wrote:
> It's also worth noting that removing an object from a container
> (.remove) is different than proposing the object goes to GC (del...)
``del`` doesn't propose that the object goes to GC, at least not more
then a `remove()` method does. Just like `remove()` ``del`` only removes
references to objects. Always.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list