equal
deleted
inserted
replaced
2584 def _list(self): |
2584 def _list(self): |
2585 if not self._genlist: |
2585 if not self._genlist: |
2586 self._genlist = baseset(self._iterator()) |
2586 self._genlist = baseset(self._iterator()) |
2587 return self._genlist |
2587 return self._genlist |
2588 |
2588 |
2589 def filter(self, condition): |
|
2590 if self._ascending is not None: |
|
2591 return orderedlazyset(self, condition, ascending=self._ascending) |
|
2592 return filteredset(self, condition) |
|
2593 |
|
2594 def ascending(self): |
2589 def ascending(self): |
2595 if self._ascending is None: |
2590 if self._ascending is None: |
2596 self.sort() |
2591 self.sort() |
2597 self._ascending = True |
2592 self._ascending = True |
2598 else: |
2593 else: |