PageElement.find_all() can return any subclass of PageElement (#6081)

This commit is contained in:
cmckain
2021-09-27 00:54:40 -07:00
committed by GitHub
parent a9227ed985
commit 57c26d5b2c

View File

@@ -319,7 +319,7 @@ class Tag(PageElement):
text: _Strainable | None = ...,
limit: int | None = ...,
**kwargs: _Strainable,
) -> ResultSet[PageElement]: ...
) -> ResultSet[Any]: ...
__call__ = find_all
findAll = find_all
findChildren = find_all