Show More
@@ -2255,6 +2255,12 b' class abstractsmartset(object):' | |||||
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() |
General Comments 0
You need to be logged in to leave comments.
Login now