equal
deleted
inserted
replaced
243 return asclist |
243 return asclist |
244 |
244 |
245 @util.propertycache |
245 @util.propertycache |
246 def _list(self): |
246 def _list(self): |
247 # _list is only lazily constructed if we have _set |
247 # _list is only lazily constructed if we have _set |
248 assert '_set' in self.__dict__ |
248 assert r'_set' in self.__dict__ |
249 return list(self._set) |
249 return list(self._set) |
250 |
250 |
251 def __iter__(self): |
251 def __iter__(self): |
252 if self._ascending is None: |
252 if self._ascending is None: |
253 return iter(self._list) |
253 return iter(self._list) |