]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-47040: improve document of checksum functions (GH-31955) (GH-32002)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 20 Mar 2022 07:21:34 +0000 (00:21 -0700)
committerGitHub <noreply@github.com>
Sun, 20 Mar 2022 07:21:34 +0000 (00:21 -0700)
commit73f4b475d1d70c9ef0db9e6c79771d1a43d43a33
tree11939132398699d7995feb04a7b3ca82e0352def
parente207d721fcea01123f0e3edb83b6decdcb5e5e63
[3.10] bpo-47040: improve document of checksum functions (GH-31955) (GH-32002)

Clarifies a versionchanged note on crc32 & adler32 docs that the workaround is only needed for Python 2 and earlier.
Also cleans up an unnecessary intermediate variable in the implementation.

Authored-By: Ma Lin / animalize
Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit 6d290d5862375799e997f1192ef56abca4e9182e)

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
Doc/library/binascii.rst
Doc/library/zlib.rst