mirror of https://github.com/python/cpython.git
DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94089)
(cherry picked from commit 0709586744
)
Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
This commit is contained in:
parent
331e24455a
commit
3a119d277a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue