[pypy-commit] pypy set-strategies: discard is deprecated. instead we use remove

l.diekmann noreply at buildbot.pypy.org
Thu Nov 10 13:52:24 CET 2011


Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r49256:0e94aadc3c7f
Date: 2011-10-19 16:37 +0200
http://bitbucket.org/pypy/pypy/changeset/0e94aadc3c7f/

Log:	discard is deprecated. instead we use remove

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
@@ -319,9 +319,6 @@
     def remove(self, w_set, w_item):
         return False
 
-    def discard(self, w_set, w_item):
-        return False
-
     def getdict_w(self, w_set):
         return newset(self.space)
 


More information about the pypy-commit mailing list