Show More
@@ -2464,6 +2464,9 b' class _addset(_orderedsetmixin):' | |||||
2464 | self._ascending = ascending |
|
2464 | self._ascending = ascending | |
2465 | self._genlist = None |
|
2465 | self._genlist = None | |
2466 |
|
2466 | |||
|
2467 | def __len__(self): | |||
|
2468 | return len(self._list) | |||
|
2469 | ||||
2467 | @util.propertycache |
|
2470 | @util.propertycache | |
2468 | def _list(self): |
|
2471 | def _list(self): | |
2469 | if not self._genlist: |
|
2472 | if not self._genlist: |
General Comments 0
You need to be logged in to leave comments.
Login now