mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
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(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 a new issue