Skip to content

Commit 0709586

Browse files
authored
DOC: correct bytesarray -> bytearray in comments (GH-92410)
1 parent f28ec34 commit 0709586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/_hashopenssl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ _hashlib_compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
19981998
PyUnicode_GET_LENGTH(a),
19991999
PyUnicode_GET_LENGTH(b));
20002000
}
2001-
/* fallback to buffer interface for bytes, bytesarray and other */
2001+
/* fallback to buffer interface for bytes, bytearray and other */
20022002
else {
20032003
Py_buffer view_a;
20042004
Py_buffer view_b;

Modules/_operator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ _operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
839839
PyUnicode_GET_LENGTH(a),
840840
PyUnicode_GET_LENGTH(b));
841841
}
842-
/* fallback to buffer interface for bytes, bytesarray and other */
842+
/* fallback to buffer interface for bytes, bytearray and other */
843843
else {
844844
Py_buffer view_a;
845845
Py_buffer view_b;

0 commit comments

Comments
 (0)