[pypy-commit] pypy set-strategies: discard is not needed anymore
l.diekmann
noreply at buildbot.pypy.org
Thu Nov 10 13:51:26 CET 2011
Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r49212:d7e380dfbd4c
Date: 2011-10-11 13:54 +0200
http://bitbucket.org/pypy/pypy/changeset/d7e380dfbd4c/
Log: discard is not needed anymore
diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -78,10 +78,6 @@
def add(self, w_key):
self.strategy.add(self, w_key)
- # XXX this appears unused? kill it
- def discard(self, w_item):
- return self.strategy.discard(self, w_item)
-
# XXX rename to "remove", delitem is the name for the operation that does
# "del d[x]" which does not work on sets
def delitem(self, w_item):
More information about the pypy-commit
mailing list