summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-22 01:48:14 -0700
committerGitHub <noreply@github.com>2022-06-22 10:48:14 +0200
commitddac87c1c1fc2f4fa25cea03aa7c3cf792035f5c (patch)
treef9b74867962e8b2f5565f7853fcecca62a43cd7a
parent08069bac3bd85a6f9eb70d1bcf731d587148ed30 (diff)
downloadcpython-git-ddac87c1c1fc2f4fa25cea03aa7c3cf792035f5c.tar.gz
DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94090)
(cherry picked from commit 0709586744ec58dd60492e16b08fff6dc1149a0a) Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
-rw-r--r--Modules/_hashopenssl.c2
-rw-r--r--Modules/_operator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index 75063fa153..35addf49e9 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 f051513fc7..0b132e20e5 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;