[Python-checkins] DOC: correct bytesarray -> bytearray in comments (GH-92410)

ambv webhook-mailer at python.org
Tue Jun 21 16:04:07 EDT 2022


https://github.com/python/cpython/commit/0709586744ec58dd60492e16b08fff6dc1149a0a
commit: 0709586744ec58dd60492e16b08fff6dc1149a0a
branch: main
author: Thomas A Caswell <tcaswell at gmail.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-21T22:04:03+02:00
summary:

DOC: correct bytesarray -> bytearray in comments (GH-92410)

files:
M Modules/_hashopenssl.c
M Modules/_operator.c

diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index 38776edf5f9fd..82398547f9b37 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -1998,7 +1998,7 @@ _hashlib_compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
                     PyUnicode_GET_LENGTH(a),
                     PyUnicode_GET_LENGTH(b));
     }
-    /* fallback to buffer interface for bytes, bytesarray and other */
+    /* fallback to buffer interface for bytes, bytearray and other */
     else {
         Py_buffer view_a;
         Py_buffer view_b;
diff --git a/Modules/_operator.c b/Modules/_operator.c
index e89451631ca1b..51ca74eeeaee2 100644
--- a/Modules/_operator.c
+++ b/Modules/_operator.c
@@ -839,7 +839,7 @@ _operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
                     PyUnicode_GET_LENGTH(a),
                     PyUnicode_GET_LENGTH(b));
     }
-    /* fallback to buffer interface for bytes, bytesarray and other */
+    /* fallback to buffer interface for bytes, bytearray and other */
     else {
         Py_buffer view_a;
         Py_buffer view_b;



More information about the Python-checkins mailing list