beautifulsoup: iterating over bs4.BeautifulSoup
returns Tag
, but Mypy thinks that bs4.element.PageElement
type is returned
#8369
Labels
stubs: false positive
Type checkers report false errors
The code is correct, but fails with Mypy:
Mypy output
Python output if you run the code
Expected Mypy output
Versions
types-beautifulsoup4 = "4.11.4"
beautifulsoup4 = "4.11.1"
The text was updated successfully, but these errors were encountered: