@@ -1890,31 +1890,31 @@ zlib_adler32_impl(PyObject *module, Py_buffer *data, unsigned int value)
18901890zlib.adler32_combine -> unsigned_int
18911891
18921892 adler1: unsigned_int(bitwise=True)
1893- Adler-32 check value for sequence A
1893+ Adler-32 checksum for sequence A
18941894
18951895 adler2: unsigned_int(bitwise=True)
1896- Adler-32 check value for sequence B
1896+ Adler-32 checksum for sequence B
18971897
1898- blen : object
1898+ len2 : object
18991899 Length of sequence B
19001900 /
19011901
1902- Combine two Adler-32 check values into one.
1902+ Combine two Adler-32 checksums into one.
19031903
1904- Given an Adler-32 check value ' adler1' of a sequence A and an Adler-32 check
1905- value ' adler2' of a sequence B of length 'blen', the returned checksum
1906- is the Adler-32 check value of A and B concatenated.
1904+ Given the Adler-32 checksum * adler1* of a sequence ``A`` and the
1905+ Adler-32 checksum * adler2* of a sequence ``B`` of length *len2*,
1906+ return the Adler-32 checksum of ``A`` and ``B`` concatenated.
19071907[clinic start generated code]*/
19081908
19091909static unsigned int
19101910zlib_adler32_combine_impl (PyObject * module , unsigned int adler1 ,
1911- unsigned int adler2 , PyObject * blen )
1912- /*[clinic end generated code: output=57aee1d70f5e2908 input=29005ae6aaa024b3 ]*/
1911+ unsigned int adler2 , PyObject * len2 )
1912+ /*[clinic end generated code: output=61842cefb16afb1b input=8a706b73cbe1a31b ]*/
19131913{
19141914#if defined(Z_WANT64 )
1915- z_off64_t len = convert_to_z_off_t (blen );
1915+ z_off64_t len = convert_to_z_off_t (len2 );
19161916#else
1917- z_off_t len = convert_to_z_off_t (blen );
1917+ z_off_t len = convert_to_z_off_t (len2 );
19181918#endif
19191919 if (PyErr_Occurred ()) {
19201920 return (unsigned int )-1 ;
@@ -1975,31 +1975,31 @@ zlib_crc32_impl(PyObject *module, Py_buffer *data, unsigned int value)
19751975zlib.crc32_combine -> unsigned_int
19761976
19771977 crc1: unsigned_int(bitwise=True)
1978- CRC-32 check value for sequence A
1978+ CRC-32 checksum for sequence A
19791979
19801980 crc2: unsigned_int(bitwise=True)
1981- CRC-32 check value for sequence B
1981+ CRC-32 checksum for sequence B
19821982
1983- blen : object
1983+ len2 : object
19841984 Length of sequence B
19851985 /
19861986
1987- Combine two CRC-32 check values into one.
1987+ Combine two CRC-32 checksums into one.
19881988
1989- Given a CRC-32 check value ' crc1' of a sequence A and a CRC-32 check
1990- value ' crc2' of a sequence B of length 'blen', the returned checksum
1991- is the CRC-32 check value of A and B concatenated.
1989+ Given the CRC-32 checksum * crc1* of a sequence ``A`` and the
1990+ CRC-32 checksum * crc2* of a sequence ``B`` of length *len2*,
1991+ return the CRC-32 checksum of ``A`` and ``B`` concatenated.
19921992[clinic start generated code]*/
19931993
19941994static unsigned int
19951995zlib_crc32_combine_impl (PyObject * module , unsigned int crc1 ,
1996- unsigned int crc2 , PyObject * blen )
1997- /*[clinic end generated code: output=dece978b27e8eada input=4d394ee4d80aa35a ]*/
1996+ unsigned int crc2 , PyObject * len2 )
1997+ /*[clinic end generated code: output=c4def907c602e6eb input=8eb70325fdee010d ]*/
19981998{
19991999#if defined(Z_WANT64 )
2000- z_off64_t len = convert_to_z_off_t (blen );
2000+ z_off64_t len = convert_to_z_off_t (len2 );
20012001#else
2002- z_off_t len = convert_to_z_off_t (blen );
2002+ z_off_t len = convert_to_z_off_t (len2 );
20032003#endif
20042004 if (PyErr_Occurred ()) {
20052005 return (unsigned int )-1 ;
@@ -2072,11 +2072,11 @@ PyDoc_STRVAR(zlib_module_documentation,
20722072"zlib library, which is based on GNU zip.\n"
20732073"\n"
20742074"adler32(string[, start]) -- Compute an Adler-32 checksum.\n"
2075- "adler32_combine(adler1, adler2, len2) -- Combine two Adler-32 checksums.\n"
2075+ "adler32_combine(adler1, adler2, len2, / ) -- Combine two Adler-32 checksums.\n"
20762076"compress(data[, level]) -- Compress data, with compression level 0-9 or -1.\n"
20772077"compressobj([level[, ...]]) -- Return a compressor object.\n"
20782078"crc32(string[, start]) -- Compute a CRC-32 checksum.\n"
2079- "crc32_combine(crc1, crc2, len2) -- Combine two CRC-32 checksums.\n"
2079+ "crc32_combine(crc1, crc2, len2, / ) -- Combine two CRC-32 checksums.\n"
20802080"decompress(string,[wbits],[bufsize]) -- Decompresses a compressed string.\n"
20812081"decompressobj([wbits[, zdict]]) -- Return a decompressor object.\n"
20822082"\n"
0 commit comments