equal
deleted
inserted
replaced
2253 """return the last element in the set (user iteration perspective) |
2253 """return the last element in the set (user iteration perspective) |
2254 |
2254 |
2255 Return None if the set is empty""" |
2255 Return None if the set is empty""" |
2256 raise NotImplementedError() |
2256 raise NotImplementedError() |
2257 |
2257 |
|
2258 def __len__(self): |
|
2259 """return the length of the smartsets |
|
2260 |
|
2261 This can be expensive on smartset that could be lazy otherwise.""" |
|
2262 raise NotImplementedError() |
|
2263 |
2258 def reverse(self): |
2264 def reverse(self): |
2259 """reverse the expected iteration order""" |
2265 """reverse the expected iteration order""" |
2260 raise NotImplementedError() |
2266 raise NotImplementedError() |
2261 |
2267 |
2262 def sort(self, reverse=True): |
2268 def sort(self, reverse=True): |