diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-17 20:24:09 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-03-17 20:24:09 (GMT) |
commit | ab0d8a1f59aaa71b234c1c273dd61b951950678d (patch) | |
tree | 81175c7432eafcd479d9713a0d1c2af245c91c2a /Doc | |
parent | c55485bc6d4a22026e12ccc6b772984059468a86 (diff) | |
download | cpython-ab0d8a1f59aaa71b234c1c273dd61b951950678d.zip cpython-ab0d8a1f59aaa71b234c1c273dd61b951950678d.tar.gz cpython-ab0d8a1f59aaa71b234c1c273dd61b951950678d.tar.bz2 |
zlib.crc32 and zlib.adler32 now return an unsigned value as any sane person
would expect.
Fixes issues1202.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/zlib.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst index dda0b9c..e55e52a 100644 --- a/Doc/library/zlib.rst +++ b/Doc/library/zlib.rst @@ -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]]) |