]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94090)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Jun 2022 08:48:14 +0000 (01:48 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Jun 2022 08:48:14 +0000 (10:48 +0200)
(cherry picked from commit 0709586744ec58dd60492e16b08fff6dc1149a0a)

Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
Modules/_hashopenssl.c
Modules/_operator.c

index 75063fa15369ac1d6fbed1074f56c5de829e4280..35addf49e96c63e97686d69708300b7673cc1adb 100644 (file)
@@ -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;
index f051513fc793a01b1b5100b038c4bb1fd2c08866..0b132e20e55de1b6af9e5dc740485fbcf2d0ffb1 100644 (file)
@@ -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;