From: Thomas A Caswell Date: Tue, 21 Jun 2022 20:04:03 +0000 (-0400) Subject: DOC: correct bytesarray -> bytearray in comments (GH-92410) X-Git-Tag: v3.12.0a1~1169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0709586744ec58dd60492e16b08fff6dc1149a0a;p=thirdparty%2FPython%2Fcpython.git DOC: correct bytesarray -> bytearray in comments (GH-92410) --- diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index 38776edf5f9f..82398547f9b3 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -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; diff --git a/Modules/_operator.c b/Modules/_operator.c index e89451631ca1..51ca74eeeaee 100644 --- a/Modules/_operator.c +++ b/Modules/_operator.c @@ -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;