mirror of https://github.com/python/cpython
DOC: correct bytesarray -> bytearray in comments (GH-92410)
This commit is contained in:
parent
f28ec34c5c
commit
0709586744
|
@ -1998,7 +1998,7 @@ _hashlib_compare_digest_impl(PyObject *module, PyObject *a, PyObject *b)
|
||||||
PyUnicode_GET_LENGTH(a),
|
PyUnicode_GET_LENGTH(a),
|
||||||
PyUnicode_GET_LENGTH(b));
|
PyUnicode_GET_LENGTH(b));
|
||||||
}
|
}
|
||||||
/* fallback to buffer interface for bytes, bytesarray and other */
|
/* fallback to buffer interface for bytes, bytearray and other */
|
||||||
else {
|
else {
|
||||||
Py_buffer view_a;
|
Py_buffer view_a;
|
||||||
Py_buffer view_b;
|
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(a),
|
||||||
PyUnicode_GET_LENGTH(b));
|
PyUnicode_GET_LENGTH(b));
|
||||||
}
|
}
|
||||||
/* fallback to buffer interface for bytes, bytesarray and other */
|
/* fallback to buffer interface for bytes, bytearray and other */
|
||||||
else {
|
else {
|
||||||
Py_buffer view_a;
|
Py_buffer view_a;
|
||||||
Py_buffer view_b;
|
Py_buffer view_b;
|
||||||
|
|
Loading…
Reference in New Issue