8000 zlib: improve bytes handling by sobolevn · Pull Request #9036 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

zlib: improve bytes handling #9036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2022
commit 77a3d1dc3228e85fa6ebc8da8bd0af6552dc0d87
9 changes: 7 additions & 2 deletions stdlib/zlib.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from _typeshed import ReadableBuffer
import sys
from _typeshed import ReadableBuffer
from typing_extensions import Literal

DEFLATED: Literal[8]
Expand Down Expand Up @@ -49,7 +49,12 @@ else:
def compress(__data: ReadableBuffer, level: int = ...) -> bytes: ...

def compressobj(
level: int = ..., method: int = ..., wbits: int = ..., memLevel: int = ..., strategy: int = ..., zdict: ReadableBuffer | None = ...
level: int = ...,
method: int = ...,
wbits: int = ...,
memLevel: int = ...,
strategy: int = ...,
zdict: ReadableBuffer | None = ...,
) -> _Compress: ...
def crc32(__data: ReadableBuffer, __value: int = ...) -> int: ...
def decompress(__data: ReadableBuffer, wbits: int = ..., bufsize: int = ...) -> bytes: ...
Expand Down
0