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

ambv webhook-mailer at python.org
Wed Jun 22 04:48:19 EDT 2022


https://github.com/python/cpython/commit/ddac87c1c1fc2f4fa25cea03aa7c3cf792035f5c
commit: ddac87c1c1fc2f4fa25cea03aa7c3cf792035f5c
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-22T10:48:14+02:00
summary:

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

(cherry picked from commit 0709586744ec58dd60492e16b08fff6dc1149a0a)

Co-authored-by: Thomas A Caswell <tcaswell at gmail.com>

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

diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index 75063fa15369a..35addf49e96c6 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -2002,7 +2002,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 f051513fc793a..0b132e20e55de 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