mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
zlib.crc32 and zlib.adler32 now return an unsigned value as any sane person
would expect. Fixes issues1202.
This commit is contained in:
parent
c55485bc6d
commit
ab0d8a1f59
3 changed files with 14 additions and 2 deletions
|
@ -42,6 +42,8 @@ The available exception and functions in this module are:
|
|||
the algorithm is designed for use as a checksum algorithm, it is not suitable
|
||||
for use as a general hash algorithm.
|
||||
|
||||
Always returns an unsigned 32-bit integer.
|
||||
|
||||
|
||||
.. function:: compress(string[, level])
|
||||
|
||||
|
@ -74,6 +76,8 @@ The available exception and functions in this module are:
|
|||
the algorithm is designed for use as a checksum algorithm, it is not suitable
|
||||
for use as a general hash algorithm.
|
||||
|
||||
Always returns an unsigned 32-bit integer.
|
||||
|
||||
|
||||
.. function:: decompress(string[, wbits[, bufsize]])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue