Merge pull request #6131 from Neradoc/binascii-crc32-docs

Add binascii crc32 to documentation
This commit is contained in:
Dan Halbert 2022-03-09 11:12:16 -05:00 committed by GitHub
commit 03c54a9b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,3 +36,9 @@ Functions
Encode binary data in base64 format, as in `RFC 3548
<https://tools.ietf.org/html/rfc3548.html>`_. Returns the encoded data
followed by a newline character, as a bytes object.
.. function:: crc32(data, value=0, /)
Compute CRC-32, the 32-bit checksum of the bytes in *data* starting with an
initial CRC of *value*. The default initial CRC is 0. The algorithm is
consistent with the ZIP file checksum.