mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
@@ -4,15 +4,12 @@ from typing import Any
|
||||
|
||||
from bs4.builder import HTMLTreeBuilder
|
||||
|
||||
class HTMLParseError(Exception): ...
|
||||
|
||||
class BeautifulSoupHTMLParser(HTMLParser):
|
||||
IGNORE: str
|
||||
REPLACE: str
|
||||
on_duplicate_attribute: Any
|
||||
already_closed_empty_element: Any
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def error(self, msg: str) -> None: ...
|
||||
def handle_startendtag(self, name, attrs) -> None: ...
|
||||
def handle_starttag(self, name, attrs, handle_empty_element: bool = ...) -> None: ...
|
||||
def handle_endtag(self, name, check_already_closed: bool = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user