]> granicus.if.org Git - python/commit
RH pointed out that discard(element) doesn't do the transformation on
authorGuido van Rossum <guido@python.org>
Fri, 23 Aug 2002 14:45:02 +0000 (14:45 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 23 Aug 2002 14:45:02 +0000 (14:45 +0000)
commite399d08a4a64674761ccbdb102bc803d1d3b06d0
tree47bc9cfb411fb3b8c670c6b09753912a6288d015
parent86c659a32937b7fe991e4f407a2a5f0026bb276d
RH pointed out that discard(element) doesn't do the transformation on
the element if necessary.  Fixed by calling self.remove(element).
Lib/sets.py