Py2.3: Feedback on Sets
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Tue Aug 19 23:15:36 EDT 2003
On Tue, 12 Aug 2003 12:24:40 -0400, rumours say that Istvan Albert
<ialbert at mailblocks.com> might have written:
>Then there is the update method. It feels a little bit redundant
>since there is an add() method that seems to be doing the same thing
>only that add() adds only one element at a time.
>Would it be possible to have add() handle all additions, iterable or
>not, then scrap update() altogether.
If you have a Set set, then these two are quite different:
set.add("hello")
set.update("hello")
--
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.
More information about the Python-list
mailing list