Show More
@@ -2409,6 +2409,11 b' class _addset(object):' | |||||
2409 | def set(self): |
|
2409 | def set(self): | |
2410 | return self |
|
2410 | return self | |
2411 |
|
2411 | |||
|
2412 | def reverse(self): | |||
|
2413 | self._list.reverse() | |||
|
2414 | if self._ascending is not None: | |||
|
2415 | self._ascending = not self._ascending | |||
|
2416 | ||||
2412 | class _generatorset(object): |
|
2417 | class _generatorset(object): | |
2413 | """Wrap a generator for lazy iteration |
|
2418 | """Wrap a generator for lazy iteration | |
2414 |
|
2419 |
General Comments 0
You need to be logged in to leave comments.
Login now