diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-02-01 00:24:21 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-02-01 00:24:21 +0000 |
commit | 86cc5029dc7f0d1bfd43f4fc3b067360ffdceab9 (patch) | |
tree | 8882c4c8440249048fdfb60f8f8973e999be8982 | |
parent | 5501d6559060f59a8a87f8496b09f702d7231dbd (diff) | |
download | cpython-git-86cc5029dc7f0d1bfd43f4fc3b067360ffdceab9.tar.gz |
wording for for issue4903.
-rw-r--r-- | Doc/library/zlib.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst index ca55a5f19e..919b4e4ffd 100644 --- a/Doc/library/zlib.rst +++ b/Doc/library/zlib.rst @@ -48,16 +48,16 @@ The available exception and functions in this module are: To generate the same numeric value across all Python versions and platforms use adler32(data) & 0xffffffff. If you are only using the checksum in packed binary format this is not necessary as the - return value will have the correct 32bit binary representation + return value is the correct 32bit binary representation regardless of sign. .. versionchanged:: 2.6 - The return value will always be in the range [-2**31, 2**31-1] - regardless of platform. In older versions the value would be + The return value is in the range [-2**31, 2**31-1] + regardless of platform. In older versions the value is signed on some platforms and unsigned on others. .. versionchanged:: 3.0 - The return value will always be unsigned and in the range [0, 2**32-1] + The return value is unsigned and in the range [0, 2**32-1] regardless of platform. @@ -98,16 +98,16 @@ The available exception and functions in this module are: To generate the same numeric value across all Python versions and platforms use crc32(data) & 0xffffffff. If you are only using the checksum in packed binary format this is not necessary as the - return value will have the correct 32bit binary representation + return value is the correct 32bit binary representation regardless of sign. .. versionchanged:: 2.6 - The return value will always be in the range [-2**31, 2**31-1] + The return value is in the range [-2**31, 2**31-1] regardless of platform. In older versions the value would be signed on some platforms and unsigned on others. .. versionchanged:: 3.0 - The return value will always be unsigned and in the range [0, 2**32-1] + The return value is unsigned and in the range [0, 2**32-1] regardless of platform. |