[Python-checkins] Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27998)

ambv webhook-mailer at python.org
Fri Aug 27 07:59:28 EDT 2021


https://github.com/python/cpython/commit/2351ff2c8f9f4ff0d3eb5cfa8c354ee8864789cc
commit: 2351ff2c8f9f4ff0d3eb5cfa8c354ee8864789cc
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-08-27T13:59:23+02:00
summary:

Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27998)

(cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)

Co-authored-by: Adam Dangoor <adamdangoor at gmail.com>

files:
M Modules/_ssl.c

diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 97e314b21fd1a..0498c153caaf2 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -4229,7 +4229,7 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self,
         goto error;
     }
 
-    /* validata cadata type and load cadata */
+    /* validate cadata type and load cadata */
     if (cadata) {
         if (PyUnicode_Check(cadata)) {
             PyObject *cadata_ascii = PyUnicode_AsASCIIString(cadata);



More information about the Python-checkins mailing list