(self)
| 128 | return self._iter_cached() |
| 129 | |
| 130 | def _invalidate_cache(self): |
| 131 | if self._cache is not None: |
| 132 | self._cache = [] |
| 133 | self._cache_complete = False |
| 134 | self._cache_gen = self._iter() |
| 135 | |
| 136 | if self._cache_lock.locked(): |
| 137 | self._cache_lock.release() |
| 138 | |
| 139 | self._len = None |
| 140 | |
| 141 | def _iter_cached(self): |
| 142 | i = 0 |
no test coverage detected