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

Victor Stinner webhook-mailer at python.org
Wed Mar 6 09:35:43 EST 2019


https://github.com/python/cpython/commit/b71e28ea91259ca3914e2ff84fc126795ea6b848
commit: b71e28ea91259ca3914e2ff84fc126795ea6b848
branch: master
author: Emmanuel Arias <emmanuelarias30 at gmail.com>
committer: Victor Stinner <vstinner at redhat.com>
date: 2019-03-06T15:35:35+01:00
summary:

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

files:
M Modules/_hashopenssl.c

diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index aae558c99303..e560c18b63c3 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -775,7 +775,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