summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas A Caswell <tcaswell@gmail.com>2022-06-21 20:04:03 (GMT)
committerGitHub <noreply@github.com>2022-06-21 20:04:03 (GMT)
commit0709586744ec58dd60492e16b08fff6dc1149a0a (patch)
tree97431165114377cbc425711948a882bb699740a3
parentf28ec34c5c69f45dc0db8bc26df69bc7defe9c9d (diff)
downloadcpython-0709586744ec58dd60492e16b08fff6dc1149a0a.zip
cpython-0709586744ec58dd60492e16b08fff6dc1149a0a.tar.gz
cpython-0709586744ec58dd60492e16b08fff6dc1149a0a.tar.bz2
DOC: correct bytesarray -> bytearray in comments (GH-92410)
-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 38776ed..8239854 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 e894516..51ca74e 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;