From 63c4f0b9e5bd3f47f63b1a4189bd7ca1b3121227 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 2 May 2021 18:51:48 -0700 Subject: [PATCH] lzma: mark positional-only args (#5320) Co-authored-by: hauntsaninja <> --- stdlib/lzma.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/lzma.pyi b/stdlib/lzma.pyi index b39b5ecc7..7290a25b3 100644 --- a/stdlib/lzma.pyi +++ b/stdlib/lzma.pyi @@ -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: ...