From 2d82fe8d8f5bf0b4ee3500a834af91e20c547ad3 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Sun, 13 Oct 2024 10:42:23 -0400 Subject: [PATCH] Set literal default for bz2.BZ2Compressor.__init__ --- stdlib/bz2.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/bz2.pyi b/stdlib/bz2.pyi index a7837e1b9ff8..cd11baa1a0c1 100644 --- a/stdlib/bz2.pyi +++ b/stdlib/bz2.pyi @@ -131,7 +131,7 @@ class BZ2File(BaseStream, IO[bytes]): @final class BZ2Compressor: - def __init__(self, compresslevel: int = ...) -> None: ... + def __init__(self, compresslevel: int = 9) -> None: ... def compress(self, data: ReadableBuffer, /) -> bytes: ... def flush(self) -> bytes: ...