(self)
| 579 | raise ValueError("cannot delete key in keywords dict") |
| 580 | |
| 581 | def __iter__(self) -> Iterator[str]: |
| 582 | # Doesn't need to be fast. |
| 583 | yield from self._markers |
| 584 | if self.parent is not None: |
| 585 | for keyword in self.parent.keywords: |
| 586 | # self._marks and self.parent.keywords can have duplicates. |
| 587 | if keyword not in self._markers: |
| 588 | yield keyword |
| 589 | |
| 590 | def __len__(self) -> int: |
| 591 | # Doesn't need to be fast. |
nothing calls this directly
no outgoing calls
no test coverage detected