We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b700c9a commit e0b5a92Copy full SHA for e0b5a92
src/ffpuppet/sanitizer_util.py
@@ -17,7 +17,7 @@
17
from typing import TYPE_CHECKING
18
19
if TYPE_CHECKING:
20
- from collections.abc import Generator, Sequence
+ from collections.abc import Iterator
21
22
# included from:
23
# https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/scripts/
@@ -49,7 +49,7 @@ def __bool__(self) -> bool:
49
def __contains__(self, item: str) -> bool:
50
return item in self._options
51
52
- def __iter__(self) -> Generator[Sequence[str]]:
+ def __iter__(self) -> Iterator[tuple[str, str]]:
53
yield from self._options.items()
54
55
def __len__(self) -> int:
0 commit comments