Show More
@@ -2253,8 +2253,8 class lazyset(object): | |||
|
2253 | 2253 | return l[x] |
|
2254 | 2254 | |
|
2255 | 2255 | def sort(self, reverse=False): |
|
2256 | # Basic implementation to be changed in future patches. | |
|
2257 | self._subset = baseset(self._subset) | |
|
2256 | if not util.safehasattr(self._subset, 'sort'): | |
|
2257 | self._subset = baseset(self._subset) | |
|
2258 | 2258 | self._subset.sort(reverse=reverse) |
|
2259 | 2259 | |
|
2260 | 2260 | def reverse(self): |
General Comments 0
You need to be logged in to leave comments.
Login now