mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 13:10:23 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
+2
-2
@@ -99,7 +99,7 @@ class LZMACompressor:
|
||||
def __init__(
|
||||
self, format: int | None = ..., check: int = ..., preset: int | None = ..., filters: _FilterChain | None = ...
|
||||
) -> None: ...
|
||||
def compress(self, __data: ReadableBuffer) -> bytes: ...
|
||||
def compress(self, data: ReadableBuffer, /) -> bytes: ...
|
||||
def flush(self) -> bytes: ...
|
||||
|
||||
class LZMAError(Exception): ...
|
||||
@@ -194,4 +194,4 @@ def compress(
|
||||
def decompress(
|
||||
data: ReadableBuffer, format: int = 0, memlimit: int | None = None, filters: _FilterChain | None = None
|
||||
) -> bytes: ...
|
||||
def is_check_supported(__check_id: int) -> bool: ...
|
||||
def is_check_supported(check_id: int, /) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user