mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
beautifulsoup4: Fix type of Tag.__iter__ (#8357)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user