##// END OF EJS Templates
revset: remove now unused class _ascgeneratorset
Pierre-Yves David -
r22759:6a8c55d7 default
parent child Browse files
Show More
@@ -2726,19 +2726,6 b' class _generatorset(abstractsmartset):'
2726 continue
2726 continue
2727 self._genlist.sort(reverse=reverse)
2727 self._genlist.sort(reverse=reverse)
2728
2728
2729 class _ascgeneratorset(_generatorset):
2730 """Wrap a generator of ascending elements for lazy iteration
2731
2732 Same structure as _generatorset but stops iterating after it goes past
2733 the value when asked for membership and the element is not contained
2734
2735 This class does not duck-type baseset and it's only supposed to be used
2736 internally
2737 """
2738
2739 def __init__(self, gen):
2740 super(_ascgeneratorset, self).__init__(gen, iterasc=True)
2741
2742 class _descgeneratorset(_generatorset):
2729 class _descgeneratorset(_generatorset):
2743 """Wrap a generator of descending elements for lazy iteration
2730 """Wrap a generator of descending elements for lazy iteration
2744
2731
General Comments 0
You need to be logged in to leave comments. Login now