abstractsmartset: remove `set()` method definition
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 10 Oct 2014 11:27:57 -0700
changeset 22886 c8afe69cc54f
parent 22885 e02b16f496f2
child 22887 b67e24f02205
abstractsmartset: remove `set()` method definition Now that all usages have been removed, we can drop this not so useful part of the API. We can note that the name was wrong all along...
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 10 14:27:05 2014 -0700
+++ b/mercurial/revset.py	Fri Oct 10 11:27:57 2014 -0700
@@ -2207,15 +2207,6 @@
         """provide fast membership testing"""
         raise NotImplementedError()
 
-    def __set__(self):
-        """Returns a set or a smartset containing all the elements.
-
-        The returned structure should be the fastest option for membership
-        testing.
-
-        This is part of the mandatory API for smartset."""
-        raise NotImplementedError()
-
     def __iter__(self):
         """iterate the set in the order it is supposed to be iterated"""
         raise NotImplementedError()