Add some defaults and __slots__ for 3.14 (#14622)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2025-08-22 18:51:00 +02:00
1 parent 94b1880444
commit b6e21d05ae
7 files changed
+26 -4

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ zstd_version_info: Final[tuple[int, int, int]]
COMPRESSION_LEVEL_DEFAULT: Final = _zstd.ZSTD_CLEVEL_DEFAULT
class FrameInfo:
__slots__ = ("decompressed_size", "dictionary_id")
decompressed_size: int
dictionary_id: int
def __init__(self, decompressed_size: int, dictionary_id: int) -> None: ...