Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5501d655
Commit
5501d655
authored
Feb 01, 2009
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc wording as suggested in issue4903.
parent
12554cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/binascii.rst
Doc/library/binascii.rst
+3
-3
No files found.
Doc/library/binascii.rst
View file @
5501d655
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment