(self, iterable: Iterable[Item])
| 94 | locked_items.append(item) |
| 95 | |
| 96 | def replace(self, iterable: Iterable[Item]) -> None: |
| 97 | with self.lock(): |
| 98 | self._items = collections.deque(iterable) |
| 99 | |
| 100 | @contextlib.contextmanager |
| 101 | def lock(self) -> Generator[collections.deque[Item]]: |
no test coverage detected