diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-02-01 00:16:01 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-02-01 00:16:01 (GMT) |
commit | 5501d6559060f59a8a87f8496b09f702d7231dbd (patch) | |
tree | 6f930f08815bf9147df3d4195c2c8a9d663d3bff /Doc | |
parent | 12554cb2243a30e2daac1bf83c9cc63d2f6fe490 (diff) | |
download | cpython-5501d6559060f59a8a87f8496b09f702d7231dbd.zip cpython-5501d6559060f59a8a87f8496b09f702d7231dbd.tar.gz cpython-5501d6559060f59a8a87f8496b09f702d7231dbd.tar.bz2 |
Update doc wording as suggested in issue4903.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/binascii.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst index ece0819..23939de 100644 --- a/Doc/library/binascii.rst +++ b/Doc/library/binascii.rst @@ -120,17 +120,17 @@ The :mod:`binascii` module defines the following functions: 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 the past the value would be signed on some platforms and unsigned on others. Use & 0xffffffff on the value if you want it to match 3.0 behavior. .. 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. |