[Python-checkins] bpo-36209: Fix typo on hashlib error message (GH-12194)

Miss Islington (bot) webhook-mailer at python.org
Wed Mar 6 09:54:59 EST 2019


https://github.com/python/cpython/commit/42c649347a11789666c461ecbd3bdca27b957c9b
commit: 42c649347a11789666c461ecbd3bdca27b957c9b
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-06T06:54:54-08:00
summary:

bpo-36209: Fix typo on hashlib error message (GH-12194)

(cherry picked from commit b71e28ea91259ca3914e2ff84fc126795ea6b848)

Co-authored-by: Emmanuel Arias <emmanuelarias30 at gmail.com>

files:
M Modules/_hashopenssl.c

diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index b1f0d397aa7e..b69f16c61a50 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -826,7 +826,7 @@ _hashlib_scrypt_impl(PyObject *module, Py_buffer *password, Py_buffer *salt,
     if (!retval) {
         /* sorry, can't do much better */
         PyErr_SetString(PyExc_ValueError,
-                        "Invalid paramemter combination for n, r, p, maxmem.");
+                        "Invalid parameter combination for n, r, p, maxmem.");
         return NULL;
    }
 



More information about the Python-checkins mailing list