mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -41,7 +41,7 @@ PRESET_EXTREME: int
|
||||
|
||||
# from _lzma.c
|
||||
@final
|
||||
class LZMADecompressor(object):
|
||||
class LZMADecompressor:
|
||||
def __init__(self, format: int | None = ..., memlimit: int | None = ..., filters: _FilterChain | None = ...) -> None: ...
|
||||
def decompress(self, data: bytes, max_length: int = ...) -> bytes: ...
|
||||
@property
|
||||
@@ -55,7 +55,7 @@ class LZMADecompressor(object):
|
||||
|
||||
# from _lzma.c
|
||||
@final
|
||||
class LZMACompressor(object):
|
||||
class LZMACompressor:
|
||||
def __init__(
|
||||
self, format: int | None = ..., check: int = ..., preset: int | None = ..., filters: _FilterChain | None = ...
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user