bs4: expose bs4.PageElement (#7419)

This is generally useful. It's also imported in the source without being
used in bs4/__init__.py which in well maintained packages is a pretty
good marker of intention to export

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanuandhauntsaninja authored and GitHub committed 2022-03-01 16:59:50 -08:00
1 parent fd750bf065
commit 2f27eaab44
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@ from _typeshed import Self, SupportsRead
from typing import Any, Sequence
from .builder import TreeBuilder
from .element import PageElement, SoupStrainer as SoupStrainer, Tag as Tag
from .element import PageElement as PageElement, SoupStrainer as SoupStrainer, Tag as Tag
from .formatter import Formatter
class GuessedAtParserWarning(UserWarning): ...