lzma: mark positional-only args (#5320)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-05-02 18:51:48 -07:00
committed by GitHub
parent 2d10d2779f
commit 63c4f0b9e5

View File

@@ -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: ...