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

Reply via email to