From: Martin Panter Date: Sat, 24 Dec 2016 07:44:03 +0000 (+0000) Subject: Issue #29004: Merge crc_hqx() doc from 3.5 X-Git-Tag: v3.6.1rc1~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=520569e9bd9cff593f53ba3ffcbe251efd2b2344;p=python Issue #29004: Merge crc_hqx() doc from 3.5 --- 520569e9bd9cff593f53ba3ffcbe251efd2b2344 diff --cc Modules/binascii.c index 9b9cd7f011,125c1cb02d..ee66a48ebc --- a/Modules/binascii.c +++ b/Modules/binascii.c @@@ -905,9 -920,9 +905,9 @@@ Compute CRC-CCITT incrementally 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; + const unsigned char *bin_data; Py_ssize_t len; crc &= 0xffff; diff --cc Modules/clinic/binascii.c.h index acafcbf701,6ace4d5381..743bf46ea8 --- a/Modules/clinic/binascii.c.h +++ b/Modules/clinic/binascii.c.h @@@ -550,4 -516,4 +550,4 @@@ exit return return_value; } - /*[clinic end generated code: output=1f8d6e48f75f6d1e input=a9049054013a1b77]*/ -/*[clinic end generated code: output=6d70d5edd9373d92 input=a9049054013a1b77]*/ ++/*[clinic end generated code: output=458eb09731cb7877 input=a9049054013a1b77]*/