
July 19, 2009
2:14 a.m.
On Sun, 19 Jul 2009 11:44:00 am Mathias Panzenböck wrote:
I always thought it's odd that pythons list has append but the set class has the method add. Whats the reason for that anyway?
You can't append an item to the end of the set, because sets don't have an end. They're unordered. -- Steven D'Aprano