Show More
@@ -2228,6 +2228,10 b' class baseset(list):' | |||
|
2228 | 2228 | self._set = set(self) |
|
2229 | 2229 | return self._set |
|
2230 | 2230 | |
|
2231 | @util.propertycache | |
|
2232 | def __contains__(self): | |
|
2233 | return self.set().__contains__ | |
|
2234 | ||
|
2231 | 2235 | def __sub__(self, other): |
|
2232 | 2236 | """Returns a new object with the substraction of the two collections. |
|
2233 | 2237 |
General Comments 0
You need to be logged in to leave comments.
Login now