Skip to content

Commit 3a119d2

Browse files
DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089)
(cherry picked from commit 0709586) Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
1 parent 331e244 commit 3a119d2

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
@@ -2002,7 +2002,7 @@ _hashlib_compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
20022002
PyUnicode_GET_LENGTH(a),
20032003
PyUnicode_GET_LENGTH(b));
20042004
}
2005-
/* fallback to buffer interface for bytes, bytesarray and other */
2005+
/* fallback to buffer interface for bytes, bytearray and other */
20062006
else {
20072007
Py_buffer view_a;
20082008
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)