From 57c26d5b2cafb9a13d868cb4e0736b41b472bf97 Mon Sep 17 00:00:00 2001 From: cmckain Date: Mon, 27 Sep 2021 00:54:40 -0700 Subject: [PATCH] PageElement.find_all() can return any subclass of PageElement (#6081) --- stubs/beautifulsoup4/bs4/element.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/beautifulsoup4/bs4/element.pyi b/stubs/beautifulsoup4/bs4/element.pyi index 92a56f8ab..70ee36b0a 100644 --- a/stubs/beautifulsoup4/bs4/element.pyi +++ b/stubs/beautifulsoup4/bs4/element.pyi @@ -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