diff --git a/stubs/boltons/boltons/strutils.pyi b/stubs/boltons/boltons/strutils.pyi index 2eae46714980..0d9bcb545fc7 100644 --- a/stubs/boltons/boltons/strutils.pyi +++ b/stubs/boltons/boltons/strutils.pyi @@ -41,7 +41,7 @@ class HTMLTextExtractor(HTMLParser): def html2text(html: str) -> str: ... def gunzip_bytes(bytestring: ReadableBuffer) -> bytes: ... -def gzip_bytes(bytestring: ReadableBuffer, level: int = 6) -> int: ... +def gzip_bytes(bytestring: ReadableBuffer, level: int = 6) -> bytes: ... def iter_splitlines(text: str) -> Generator[str]: ... def indent(text: str, margin: str, newline: str = "\n", key: Callable[[str], bool] = ...) -> str: ... def is_uuid(obj, version: int = 4) -> bool: ...