This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, roy.wellington
Date 2014-07-29.00:58:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406595519.66.0.816298186339.issue22089@psf.upfronthosting.co.za>
In-reply-to
Content
It's not  a bug.  Guido designed the Set ABC to use operators instead of the named methods.  The += operator for the __ior__() method that provides much of the same functionality.

In your concrete class, you can add an update() method easily:

   class MySet(Set):
       update = Set.__ior__()

Mutable mapping has an update() method because it is an essential part of the mapping API and because there is no operator equivalent as there is for the set API.
History
Date User Action Args
2014-07-29 00:58:39rhettingersetrecipients: + rhettinger, roy.wellington
2014-07-29 00:58:39rhettingersetmessageid: <1406595519.66.0.816298186339.issue22089@psf.upfronthosting.co.za>
2014-07-29 00:58:39rhettingerlinkissue22089 messages
2014-07-29 00:58:39rhettingercreate