Show More
@@ -3225,7 +3225,12 class filteredset(abstractsmartset): | |||||
3225 | return lambda: self._iterfilter(it()) |
|
3225 | return lambda: self._iterfilter(it()) | |
3226 |
|
3226 | |||
3227 | def __nonzero__(self): |
|
3227 | def __nonzero__(self): | |
3228 |
|
|
3228 | it = self | |
|
3229 | fast = self.fastasc or self.fastdesc | |||
|
3230 | if fast: | |||
|
3231 | it = fast() | |||
|
3232 | ||||
|
3233 | for r in it: | |||
3229 | return True |
|
3234 | return True | |
3230 | return False |
|
3235 | return False | |
3231 |
|
3236 |
General Comments 0
You need to be logged in to leave comments.
Login now