bs4: update for 4.12.2 (#10026)

Release: https://pypi.org/project/beautifulsoup4/4.12.2/
This commit is contained in:
Nikita Sobolev
2023-04-09 17:49:29 +03:00
committed by GitHub
parent cc674b5dce
commit 3102875bce

View File

@@ -1,5 +1,5 @@
from _typeshed import Incomplete, SupportsRead
from collections.abc import Sequence
from collections.abc import Iterator, Sequence
from typing import Any
from typing_extensions import Self
@@ -86,7 +86,11 @@ class BeautifulSoup(Tag):
def handle_endtag(self, name, nsprefix: Incomplete | None = None) -> None: ...
def handle_data(self, data) -> None: ...
def decode( # type: ignore[override]
self, pretty_print: bool = False, eventual_encoding: str = "utf-8", formatter: str | Formatter = "minimal"
self,
pretty_print: bool = False,
eventual_encoding: str = "utf-8",
formatter: str | Formatter = "minimal",
iterator: Iterator[PageElement] | None = None,
): ... # missing some arguments
class BeautifulStoneSoup(BeautifulSoup): ...