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, stutzbach
Date 2010-05-19.05:58:47
SpamBayes Score 0.047310792
Marked as misclassified No
Message-id <1274248730.52.0.865151616947.issue8750@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a possible fix:

def __isub__(self, it):
    if it is self:
        self.clear()
    else:
        for value in it:
            self.discard(value)
    return self
History
Date User Action Args
2010-05-19 05:58:50rhettingersetrecipients: + rhettinger, stutzbach
2010-05-19 05:58:50rhettingersetmessageid: <1274248730.52.0.865151616947.issue8750@psf.upfronthosting.co.za>
2010-05-19 05:58:48rhettingerlinkissue8750 messages
2010-05-19 05:58:47rhettingercreate