Skip to content

Commit

Permalink
DOC: correct bytesarray -> bytearray in comments (pythonGH-92410)
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell committed Jun 21, 2022
1 parent f28ec34 commit 0709586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/_hashopenssl.c
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Modules/_operator.c
Expand Up @@ -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;
Expand Down

0 comments on commit 0709586

Please sign in to comment.