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

ned-deily webhook-mailer at python.org
Mon Sep 6 17:35:15 EDT 2021


https://github.com/python/cpython/commit/e5f259e575e474626b1e314b8d4f0a8cd61832e1
commit: e5f259e575e474626b1e314b8d4f0a8cd61832e1
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ned-deily <nad at python.org>
date: 2021-09-06T17:35:07-04:00
summary:

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

(cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)

files:
M Modules/_ssl.c

diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 84cc3697b0706..6c63301b2a7d8 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -4047,7 +4047,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