summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2022-05-10 05:48:18 (GMT)
committerGitHub <noreply@github.com>2022-05-10 05:48:18 (GMT)
commit7c638e64050778f2e0052ec9f84cd202b8aedfce (patch)
tree40100099b48ff982a9d791e6a90a78628956c72f /Doc
parent6823ba4a9ee1a88102e835c5a278904f35588675 (diff)
downloadcpython-7c638e64050778f2e0052ec9f84cd202b8aedfce.zip
cpython-7c638e64050778f2e0052ec9f84cd202b8aedfce.tar.gz
cpython-7c638e64050778f2e0052ec9f84cd202b8aedfce.tar.bz2
gh-92417: `zlib` docs, `binascii` docs: remove Python 2 compatibility notes (GH-92543)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/binascii.rst2
-rw-r--r--Doc/library/zlib.rst4
2 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
index 19efc2d..4417a5a 100644
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -121,8 +121,6 @@ The :mod:`binascii` module defines the following functions:
.. versionchanged:: 3.0
The result is always unsigned.
- To generate the same numeric value when using Python 2 or earlier,
- use ``crc32(data) & 0xffffffff``.
.. function:: b2a_hex(data[, sep[, bytes_per_sep=1]])
hexlify(data[, sep[, bytes_per_sep=1]])
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst
index f0c67d5..30eb998 100644
--- a/Doc/library/zlib.rst
+++ b/Doc/library/zlib.rst
@@ -43,8 +43,6 @@ The available exception and functions in this module are:
.. versionchanged:: 3.0
The result is always unsigned.
- To generate the same numeric value when using Python 2 or earlier,
- use ``adler32(data) & 0xffffffff``.
.. function:: compress(data, /, level=-1, wbits=MAX_WBITS)
@@ -137,8 +135,6 @@ The available exception and functions in this module are:
.. versionchanged:: 3.0
The result is always unsigned.
- To generate the same numeric value when using Python 2 or earlier,
- use ``crc32(data) & 0xffffffff``.
.. function:: decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)