Author: Lukas Diekmann <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit