diff --git a/stubs/beautifulsoup4/bs4/element.pyi b/stubs/beautifulsoup4/bs4/element.pyi index 5f7521349..3015a7759 100644 --- a/stubs/beautifulsoup4/bs4/element.pyi +++ b/stubs/beautifulsoup4/bs4/element.pyi @@ -281,7 +281,7 @@ class Tag(PageElement): def has_attr(self, key: str) -> bool: ... def __hash__(self) -> int: ... def __getitem__(self, key: str) -> str | list[str]: ... - def __iter__(self) -> Iterable[PageElement]: ... + def __iter__(self) -> Iterator[PageElement]: ... def __len__(self) -> int: ... def __contains__(self, x: object) -> bool: ... def __bool__(self) -> bool: ...