mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
beautifulsoup4: Fix type of Tag.__iter__ (#8357)
This commit is contained in:
1 parent
6ae2da64e6
commit
b418c1c3ba
1 file changed
+1
-1
@@ -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