From 1fac594903fca3fb42b43d5ab2a3ac6553bd252f Mon Sep 17 00:00:00 2001 From: Amirreza Hamzavi Date: Thu, 23 Nov 2023 21:43:47 +0330 Subject: [PATCH] docs/library/binascii: Add docs for crc32 method. Signed-off-by: Amirreza Hamzavi --- docs/library/binascii.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/library/binascii.rst b/docs/library/binascii.rst index 6c02f019aa..d082566997 100644 --- a/docs/library/binascii.rst +++ b/docs/library/binascii.rst @@ -36,3 +36,9 @@ Functions Encode binary data in base64 format, as in `RFC 3548 `_. Returns the encoded data followed by a newline character if newline is true, as a bytes object. + +.. function:: crc32(data, [value]) + + Compute CRC-32, the 32-bit checksum of data, starting with an initial CRC + of value. The default initial CRC is zero. The algorithm is consistent + with the ZIP file checksum. \ No newline at end of file