Show More
@@ -2382,12 +2382,6 b' class baseset(abstractsmartset):' | |||||
2382 |
|
2382 | |||
2383 | return self.filter(lambda x: x not in other) |
|
2383 | return self.filter(lambda x: x not in other) | |
2384 |
|
2384 | |||
2385 | def __and__(self, other): |
|
|||
2386 | """Returns a new object with the intersection of the two collections. |
|
|||
2387 |
|
||||
2388 | This is part of the mandatory API for smartset.""" |
|
|||
2389 | return baseset([y for y in self if y in other]) |
|
|||
2390 |
|
||||
2391 | def isascending(self): |
|
2385 | def isascending(self): | |
2392 | """Returns True if the collection is ascending order, False if not. |
|
2386 | """Returns True if the collection is ascending order, False if not. | |
2393 |
|
2387 |
General Comments 0
You need to be logged in to leave comments.
Login now