Skip to content

Commit 7c638e6

Browse files
authored
gh-92417: zlib docs, binascii docs: remove Python 2 compatibility notes (GH-92543)
1 parent 6823ba4 commit 7c638e6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Doc/library/binascii.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ The :mod:`binascii` module defines the following functions:
121121

122122
.. versionchanged:: 3.0
123123
The result is always unsigned.
124-
To generate the same numeric value when using Python 2 or earlier,
125-
use ``crc32(data) & 0xffffffff``.
126124

127125
.. function:: b2a_hex(data[, sep[, bytes_per_sep=1]])
128126
hexlify(data[, sep[, bytes_per_sep=1]])

Doc/library/zlib.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ The available exception and functions in this module are:
4343

4444
.. versionchanged:: 3.0
4545
The result is always unsigned.
46-
To generate the same numeric value when using Python 2 or earlier,
47-
use ``adler32(data) & 0xffffffff``.
4846

4947
.. function:: compress(data, /, level=-1, wbits=MAX_WBITS)
5048

@@ -137,8 +135,6 @@ The available exception and functions in this module are:
137135

138136
.. versionchanged:: 3.0
139137
The result is always unsigned.
140-
To generate the same numeric value when using Python 2 or earlier,
141-
use ``crc32(data) & 0xffffffff``.
142138

143139
.. function:: decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
144140

0 commit comments

Comments
 (0)