summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMa Lin <animalize@users.noreply.github.com>2022-03-19 21:42:04 (GMT)
committerGitHub <noreply@github.com>2022-03-19 21:42:04 (GMT)
commitb3f2d4c8bab52573605c96c809a1e2162eee9d7e (patch)
treed5480532a4b6540056b4adc51798a62b430e922d /Misc
parent82e9b0bb0ac44d4942b9e01b2cdd2ca85c17e563 (diff)
downloadcpython-b3f2d4c8bab52573605c96c809a1e2162eee9d7e.zip
cpython-b3f2d4c8bab52573605c96c809a1e2162eee9d7e.tar.gz
cpython-b3f2d4c8bab52573605c96c809a1e2162eee9d7e.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2022-03-17-13-35-28.bpo-47040.4Dn48U.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2022-03-17-13-35-28.bpo-47040.4Dn48U.rst b/Misc/NEWS.d/next/Documentation/2022-03-17-13-35-28.bpo-47040.4Dn48U.rst
new file mode 100644
index 0000000..e977fb5
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2022-03-17-13-35-28.bpo-47040.4Dn48U.rst
@@ -0,0 +1,2 @@
+Clarified the old Python versions compatiblity note of :func:`binascii.crc32` /
+:func:`zlib.adler32` / :func:`zlib.crc32` functions.