mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Remove empty __init__ methods from classes with 0 parents (#8907)
This commit is contained in:
@@ -13,7 +13,6 @@ from ._collections import HTTPHeaderDict
|
||||
_TYPE_BODY: TypeAlias = bytes | IO[Any] | Iterable[bytes] | str
|
||||
|
||||
class DeflateDecoder:
|
||||
def __init__(self) -> None: ...
|
||||
def __getattr__(self, name: str) -> Any: ...
|
||||
def decompress(self, data: bytes) -> bytes: ...
|
||||
|
||||
@@ -23,14 +22,12 @@ class GzipDecoderState:
|
||||
SWALLOW_DATA: Literal[2]
|
||||
|
||||
class GzipDecoder:
|
||||
def __init__(self) -> None: ...
|
||||
def __getattr__(self, name: str) -> Any: ...
|
||||
def decompress(self, data: bytes) -> bytes: ...
|
||||
|
||||
# This class is only available if
|
||||
# `brotli` is available for import.
|
||||
class BrotliDecoder:
|
||||
def __init__(self) -> None: ...
|
||||
def flush(self) -> bytes: ...
|
||||
|
||||
class MultiDecoder:
|
||||
|
||||
Reference in New Issue
Block a user