mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
lzma: mark positional-only args (#5320)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -60,7 +60,7 @@ class LZMACompressor(object):
|
||||
def __init__(
|
||||
self, format: Optional[int] = ..., check: int = ..., preset: Optional[int] = ..., filters: Optional[_FilterChain] = ...
|
||||
) -> None: ...
|
||||
def compress(self, data: bytes) -> bytes: ...
|
||||
def compress(self, __data: bytes) -> bytes: ...
|
||||
def flush(self) -> bytes: ...
|
||||
|
||||
class LZMAError(Exception): ...
|
||||
@@ -161,4 +161,4 @@ def compress(
|
||||
data: bytes, format: int = ..., check: int = ..., preset: Optional[int] = ..., filters: Optional[_FilterChain] = ...
|
||||
) -> bytes: ...
|
||||
def decompress(data: bytes, format: int = ..., memlimit: Optional[int] = ..., filters: Optional[_FilterChain] = ...) -> bytes: ...
|
||||
def is_check_supported(check: int) -> bool: ...
|
||||
def is_check_supported(__check_id: int) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user