mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
bs4: expose several other classes (#7420)
On the same lines as #7419 These are all imports that are not used within bs4/__init__.py My main interest here is in exposing NavigableString Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -2,7 +2,21 @@ from _typeshed import Self, SupportsRead
|
||||
from typing import Any, Sequence
|
||||
|
||||
from .builder import TreeBuilder
|
||||
from .element import PageElement as PageElement, SoupStrainer as SoupStrainer, Tag as Tag
|
||||
from .element import (
|
||||
CData as CData,
|
||||
Comment as Comment,
|
||||
Declaration as Declaration,
|
||||
Doctype as Doctype,
|
||||
NavigableString as NavigableString,
|
||||
PageElement as PageElement,
|
||||
ProcessingInstruction as ProcessingInstruction,
|
||||
ResultSet as ResultSet,
|
||||
Script as Script,
|
||||
SoupStrainer as SoupStrainer,
|
||||
Stylesheet as Stylesheet,
|
||||
Tag as Tag,
|
||||
TemplateString as TemplateString,
|
||||
)
|
||||
from .formatter import Formatter
|
||||
|
||||
class GuessedAtParserWarning(UserWarning): ...
|
||||
|
||||
Reference in New Issue
Block a user