mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
bs4: update for 4.12.2 (#10026)
Release: https://pypi.org/project/beautifulsoup4/4.12.2/
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user