]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
DOC: correct bytesarray -> bytearray in comments (GH-92410)
authorThomas A Caswell <tcaswell@gmail.com>
Tue, 21 Jun 2022 20:04:03 +0000 (16:04 -0400)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2022 20:04:03 +0000 (22:04 +0200)
Modules/_hashopenssl.c
Modules/_operator.c

index 38776edf5f9fdf5cb1963ae64d64bcbff462ce75..82398547f9b3720f94e8d2e6ce6076b7069d2c9b 100644 (file)
@@ -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;
index e89451631ca1b276bdaf57bb247a5558c827ce8f..51ca74eeeaee219404cc4321b0c3535b086d150f 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;