On Thu, 02 Oct 2008 22:27:04 -0500, Larry Bates wrote: > Maybe dictionaries should have had a .remove method then things would be > more consistent?
But why should sets be consistent with dictionaries? There are a few similarities, but also differences. Personally, I'd rather see dictionaries grow methods like symmetric_difference, union, etc. than worry about whether you use del or remove to remove elements from a set. -- Steven -- http://mail.python.org/mailman/listinfo/python-list