You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

36 lines
1.3 KiB

# Stubs for bs4_py3.diagnose (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from . import BeautifulSoup as BeautifulSoup, __version__ as __version__
from .builder import builder_registry as builder_registry
from html.parser import HTMLParser
from typing import Any
__license__: str
def diagnose(data: Any) -> None: ...
def lxml_trace(data: Any, html: bool = ..., **kwargs: Any) -> None: ...
class AnnouncingParser(HTMLParser):
def _p(self, s: Any) -> None: ...
def handle_starttag(self, name: Any, attrs: Any) -> None: ...
def handle_endtag(self, name: Any) -> None: ...
def handle_data(self, data: Any) -> None: ...
def handle_charref(self, name: Any) -> None: ...
def handle_entityref(self, name: Any) -> None: ...
def handle_comment(self, data: Any) -> None: ...
def handle_decl(self, data: Any) -> None: ...
def unknown_decl(self, data: Any) -> None: ...
def handle_pi(self, data: Any) -> None: ...
def htmlparser_trace(data: Any) -> None: ...
_vowels: str
_consonants: str
def rword(length: int = ...): ...
def rsentence(length: int = ...): ...
def rdoc(num_elements: int = ...): ...
def benchmark_parsers(num_elements: int = ...) -> None: ...
def profile(num_elements: int = ..., parser: str = ...) -> None: ...