mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #29004: Merge crc_hqx() doc from 3.5
This commit is contained in:
commit
520569e9bd
3 changed files with 8 additions and 6 deletions
|
@ -116,8 +116,10 @@ The :mod:`binascii` module defines the following functions:
|
|||
|
||||
.. function:: crc_hqx(data, value)
|
||||
|
||||
Compute the binhex4 crc value of *data*, starting with *value* as the
|
||||
initial crc, and return the result.
|
||||
Compute a 16-bit CRC value of *data*, starting with *value* as the
|
||||
initial CRC, and return the result. This uses the CRC-CCITT polynomial
|
||||
*x*:sup:`16` + *x*:sup:`12` + *x*:sup:`5` + 1, often represented as
|
||||
0x1021. This CRC is used in the binhex4 format.
|
||||
|
||||
|
||||
.. function:: crc32(data[, value])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue