[Python-checkins] md5module: Fix doc strings variable names (GH-22722)

Jakub Jelen webhook-mailer at python.org
Tue Oct 20 05:10:51 EDT 2020


https://github.com/python/cpython/commit/d5d052127059fd99c90ea7a2e948a0242a1d7285
commit: d5d052127059fd99c90ea7a2e948a0242a1d7285
branch: master
author: Jakub Jelen <jakuje at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020年10月20日T18:10:43+09:00
summary:
md5module: Fix doc strings variable names (GH-22722)
files:
M Modules/md5module.c
diff --git a/Modules/md5module.c b/Modules/md5module.c
index 5cd4e94510132..9bd2bd17e4fbf 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -211,7 +211,7 @@ static void md5_compress(struct md5_state *md5, const unsigned char *buf)
 
 /**
 Initialize the hash state
- @param sha1 The hash state you wish to initialize
+ @param md5 The hash state you wish to initialize
 */
 static void
 md5_init(struct md5_state *md5)
@@ -227,7 +227,7 @@ md5_init(struct md5_state *md5)
 
 /**
 Process a block of memory though the hash
- @param sha1 The hash state
+ @param md5 The hash state
 @param in The data to hash
 @param inlen The length of the data (octets)
 */
@@ -263,7 +263,7 @@ md5_process(struct md5_state *md5, const unsigned char *in, Py_ssize_t inlen)
 
 /**
 Terminate the hash to get the digest
- @param sha1 The hash state
+ @param md5 The hash state
 @param out [out] The destination of the hash (16 bytes)
 */
 static void


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /