diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-12-24 07:36:44 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-12-24 07:36:44 (GMT) |
commit | 3310e146cc54e7b4e76641c57272ba6c12367876 (patch) | |
tree | 767f4f38eaf518e9cf4adf7e085f8b44d55996b6 /Modules | |
parent | 972e04ec4666746dc8a441449aa5b63f89af5b98 (diff) | |
download | cpython-3310e146cc54e7b4e76641c57272ba6c12367876.zip cpython-3310e146cc54e7b4e76641c57272ba6c12367876.tar.gz cpython-3310e146cc54e7b4e76641c57272ba6c12367876.tar.bz2 |
Issue #29004: Document binascii.crc_hqx() implements CRC-CCITT
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/binascii.c | 4 | ||||
-rw-r--r-- | Modules/clinic/binascii.c.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 1a40b41..125c1cb 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -915,12 +915,12 @@ binascii.crc_hqx -> unsigned_int crc: unsigned_int(bitwise=True) / -Compute hqx CRC incrementally. +Compute CRC-CCITT incrementally. [clinic start generated code]*/ static unsigned int binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) -/*[clinic end generated code: output=8ec2a78590d19170 input=add8c53712ccceda]*/ +/*[clinic end generated code: output=8ec2a78590d19170 input=f18240ff8c705b79]*/ { unsigned char *bin_data; Py_ssize_t len; diff --git a/Modules/clinic/binascii.c.h b/Modules/clinic/binascii.c.h index e20cac2..6ace4d5 100644 --- a/Modules/clinic/binascii.c.h +++ b/Modules/clinic/binascii.c.h @@ -246,7 +246,7 @@ PyDoc_STRVAR(binascii_crc_hqx__doc__, "crc_hqx($module, data, crc, /)\n" "--\n" "\n" -"Compute hqx CRC incrementally."); +"Compute CRC-CCITT incrementally."); #define BINASCII_CRC_HQX_METHODDEF \ {"crc_hqx", (PyCFunction)binascii_crc_hqx, METH_VARARGS, binascii_crc_hqx__doc__}, @@ -516,4 +516,4 @@ exit: return return_value; } -/*[clinic end generated code: output=51173fc9718a5edc input=a9049054013a1b77]*/ +/*[clinic end generated code: output=6d70d5edd9373d92 input=a9049054013a1b77]*/ |