beautifulsoup4: Fix type of Tag.__iter__ (#8357)

This commit is contained in:
Jelle Zijlstra
2022-07-21 12:32:15 -07:00
committed by GitHub
parent 6ae2da64e6
commit b418c1c3ba

View File

@@ -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: ...