]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47040: improve document of checksum functions (gh-31955)
authorMa Lin <animalize@users.noreply.github.com>
Sat, 19 Mar 2022 21:42:04 +0000 (05:42 +0800)
committerGitHub <noreply@github.com>
Sat, 19 Mar 2022 21:42:04 +0000 (14:42 -0700)
commitb3f2d4c8bab52573605c96c809a1e2162eee9d7e
treed5480532a4b6540056b4adc51798a62b430e922d
parent82e9b0bb0ac44d4942b9e01b2cdd2ca85c17e563
bpo-47040: improve document of checksum functions (gh-31955)

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>
Doc/library/binascii.rst
Doc/library/zlib.rst
Misc/NEWS.d/next/Documentation/2022-03-17-13-35-28.bpo-47040.4Dn48U.rst [new file with mode: 0644]
Modules/zlibmodule.c