mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
gh-92417: zlib
docs, binascii
docs: remove Python 2 compatibility notes (GH-92543) (GH-92607)
(cherry picked from commit 7c638e6405
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
c84f547d1d
commit
e4fc347356
2 changed files with 0 additions and 6 deletions
|
@ -121,8 +121,6 @@ The :mod:`binascii` module defines the following functions:
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
The result is always unsigned.
|
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]])
|
.. function:: b2a_hex(data[, sep[, bytes_per_sep=1]])
|
||||||
hexlify(data[, sep[, bytes_per_sep=1]])
|
hexlify(data[, sep[, bytes_per_sep=1]])
|
||||||
|
|
|
@ -43,8 +43,6 @@ The available exception and functions in this module are:
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
The result is always unsigned.
|
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)
|
.. function:: compress(data, /, level=-1, wbits=MAX_WBITS)
|
||||||
|
|
||||||
|
@ -137,8 +135,6 @@ The available exception and functions in this module are:
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
The result is always unsigned.
|
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)
|
.. function:: decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue